Closed noveens closed 4 years ago
It does work, I've just checked it on a Titan X and an 1080Ti. Check your Theano and HW configuration! (Alternatively, you can set different hyperparameters, as NaN error means that the training is unstable. E.g. lower the learning rate and/or the momentum; or user the cross-entropy loss instead of BPR-max (it is more stable). The optimal hyperparameters for cross-entropy are different though (try something like batch_size=32, dropout_p_hidden=0.3, learning_rate=0.1, momentum=0.7, n_sample=2048, sample_alpha=0.0.)
The code doesn't run on a fresh install.
Steps followed:
the output of the 2nd command: