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

Error when run main.py #41

Open
Eve-Wang opened this issue Mar 14, 2023 · 1 comment
Open

Error when run main.py #41

Eve-Wang opened this issue Mar 14, 2023 · 1 comment

Comments

@Eve-Wang
Copy link

Eve-Wang commented Mar 14, 2023

hi ,when I git clone your code and run main.py,there is one mistake

File "/eve/code/ForgeryNet/intra_dataset_code/xception.py", line 94, in Xception
bn_var_mode=syncbnVarMode_t.L2, use_sync_bn=True, bypass_last_bn=False, dropout=0, **kwargs):
NameError: name 'syncbnVarMode_t' is not defined

seem like there is something missing,do you have any solution? Thx so much

@yinanhe
Copy link
Owner

yinanhe commented Mar 22, 2023

you can simplely remove bn_var_mode=syncbnVarMode_t.L2 in line94

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