-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attribute error: sequential model has no loss function #49
Comments
The datagenerator should work fine in SNN toolbox, I've used it regularly for ImageNet and other datasets. Do you get the same error also under different conditions (e.g. using one of the example scripts)? I would need to see more details to be able to help with this (error stack trace, network architecture / training script). |
Hi Bodo, Roshan and I are in the same team. Compiling parsed model... Normalizing parameters... |
Hmm, the toolbox tries to load scale factors from a previous run from disk, to save computation time. If the user changed the network architecture in the same working directory, it can lead to a mismatch with the saved dict. Try deleting the |
I am training a custom dataset using Keras on GPU and uses categorical cross entropy. I am using keras multi GPU datagenerator function to load the data from sub directories. While conversion, SNN toolbox is showing Attribute error: sequential model has no loss function. Could you help me ? Is that due to datagenerator function ? Should I load the dataset similar to MNIST or CIFAR-10 examples ?
The text was updated successfully, but these errors were encountered: