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

ValueError: (InvalidArgument) #1

Open
luyunfighting opened this issue Nov 18, 2021 · 3 comments
Open

ValueError: (InvalidArgument) #1

luyunfighting opened this issue Nov 18, 2021 · 3 comments

Comments

@luyunfighting
Copy link

ValueError: (InvalidArgument) is_test = True CANNOT be used in train program. If you want to use global status in pre_train model, please set use_global_stats = True
[Hint: Expected is_test == false, but received is_test:1 != false:0.] (at /paddle/paddle/fluid/operators/batch_norm_op.cu:531)
大佬,这个错误怎么解决,求指教

@luyunfighting
Copy link
Author

这是用类激活图时报错的

@lmk123568
Copy link
Owner

ValueError: (InvalidArgument) is_test = True CANNOT be used in train program. If you want to use global status in pre_train model, please set use_global_stats = True [Hint: Expected is_test == false, but received is_test:1 != false:0.] (at /paddle/paddle/fluid/operators/batch_norm_op.cu:531) 大佬,这个错误怎么解决,求指教

目前这个对 resnet 有效,你这个啥网络

@luyunfighting
Copy link
Author

用的Res2Net_vd

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