-
Notifications
You must be signed in to change notification settings - Fork 62
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
Typo in model.py #8
Comments
Hi @MrtnStnwk, Thank you for your find, I will update the model right away. |
There seems to be another (minor) issue here. If the number of samples is not dividable by the batch_size, it jams after an epoch. (e.g. following: batch size 4, no samples 6287).
Line numbers may be a little different because I did some modifications. I suggest the max number of samples should be dividable by the batch size as a fix. |
Sorry, I catched another bug (which is only relevant when supervised learning is used). In load_data it is better to have os.listdir(trainA_path) (and testA, trainB, testB) sorted, because the listdir output is not neccessarily sorted. (output of listdir is dependent on how it is stored in de filesystem). Solution is to use |
Hi @MrtnStnwk, Seemed to have missed your last post. Great that you are commenting the errors, thank you. Regarding the sorting error you have found you can create a pull request if you want to, otherwise I will update it myself. |
There is a little typo in line 191 of model.py:
line 191
should read
The text was updated successfully, but these errors were encountered: