ForgeryNet icon indicating copy to clipboard operation
ForgeryNet copied to clipboard

Error when run main.py

Open Eve-Wang opened this issue 1 year ago • 1 comments

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

Eve-Wang avatar Mar 14 '23 06:03 Eve-Wang

you can simplely remove bn_var_mode=syncbnVarMode_t.L2 in line94

yinanhe avatar Mar 22 '23 08:03 yinanhe