diff --git a/mlBridgeLib/mlBridgeAi.py b/mlBridgeLib/mlBridgeAi.py index 5a51f1b..58a8696 100644 --- a/mlBridgeLib/mlBridgeAi.py +++ b/mlBridgeLib/mlBridgeAi.py @@ -84,11 +84,15 @@ def train_classification(dls, epochs=3, monitor='accuracy', min_delta=0.001, pat learn = tabular_learner(dls, metrics=accuracy) # Train the model - learn.fit_one_cycle(epochs) #, cbs=EarlyStoppingCallback(monitor=monitor, min_delta=min_delta, patience=patience)) # sometimes only a couple epochs is optimal + # error: Can't get attribute 'AMPMode' on