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

NaN validation loss while training the phase 1 #16

Open
ThanhNguyenTung opened this issue Aug 17, 2020 · 2 comments
Open

NaN validation loss while training the phase 1 #16

ThanhNguyenTung opened this issue Aug 17, 2020 · 2 comments

Comments

@ThanhNguyenTung
Copy link

Thanks for sharing your ideas and source code. It is interesting.

I re-implement your model in tensorflow 2. While training the validation loss is NaN. Did you encounter this problem? If yes, how did you solve this.

Thanks again.

@clks-wzz
Copy link
Owner

Which "gradient type" do you use here? https://github.com/clks-wzz/FAS-SGTD/blob/master/fas_sgtd_single_frame/util/util_network.py#L57
I recommend that you can try "gradient_type == 'type1'".

@ThanhNguyenTung
Copy link
Author

I saw that. It does fix the problem. Thank you.

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