GRUV icon indicating copy to clipboard operation
GRUV copied to clipboard

local variable 'epoch_logs' referenced before assignment

Open urumo opened this issue 7 years ago • 1 comments

While using train.py I get

WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string. Loading training data Finished loading training data Starting training! Iteration: 0 Epoch 0 Traceback (most recent call last): File "train.py", line 48, in history = model.fit(X_train, y_train, batch_size=batch_size, nb_epoch=epochs_per_iter, verbose=1, validation_split=0.0) File "build\bdist.win-amd64\egg\keras\models.py", line 204, in fit UnboundLocalError: local variable 'epoch_logs' referenced before assignment

anyone encountered with this? and how can this be solved? Using keras 0.1.0 on windows 10 if that makes difference with Python 2.7.13 :: Anaconda 4.3.0 (64-bit)

urumo avatar Mar 04 '17 00:03 urumo

When I've had that it is from the data not being loaded properly, check your inputs.

joeyearsley avatar Mar 09 '17 17:03 joeyearsley