Skip to content
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

loss problem #1

Open
suxi1127 opened this issue May 5, 2018 · 2 comments
Open

loss problem #1

suxi1127 opened this issue May 5, 2018 · 2 comments

Comments

@suxi1127
Copy link

suxi1127 commented May 5, 2018

Hi,thanks for your sharing your code with us!
When I try to run your train.py, some error occurs.I found that the training loss is always 330.xxx and val loss is always 332.xxx , they do not change or drop.
Moreover, when I try to test the model which is under this condition, the output is definitely 0!
So what's the problem?Is there any wrong operation?I use your original code and dataset you provide, but the loss seems not converge and remains a large one.The only thing I changed is

X_train, y_train, X_val, y_val = load_dataset(data_folder, ps, int(r), identifier,num)

I use int(r) instead of r because some float/int error.
My python version is 3.5,and I use cpu to train.
Looking forward to your reply soon!!!

@suxi1127
Copy link
Author

suxi1127 commented May 5, 2018

Oh,I also changed the data and output folder dir, and the identifier is 'SOPTII'.

@zhangzy003
Copy link

Thanks for your sharing your code with me!
When I try to run your train.py, some error occurs.I found that the training loss is too much, and it leads to the bad result.
I am looking forward to your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants