robustness
robustness copied to clipboard
issues in test_datasets.py
Hello, Schneider
I came across some questions during reproducing this work and need your help:
-
When I set
cwd
as "/robustness", and run the following commandpython examples/batchnorm/src/evaluate.py --imagenet-path imagenet/
, I came across aModuleNotFoundError: No module named robusta
. I add/robusta
intosys.path
to solve this problem. I guess it is maybe because forgetting to change the relative path after the movement ofevaluate.py
tosrc
. Of course, maybe you are right and I don't know some specific implementation under this situation. -
I want to ask the difference between EMABatchNorm and PartlyAdaptiveBN when setting
adapt_mean
andadapt_var
asTrue
. I think they both use testing set statistics, but the momentum ofEMABatchNorm
is not zero, while the momentum ofPartlyAdaptiveBN
is zero.
Thanks in advance!