ali-pytorch icon indicating copy to clipboard operation
ali-pytorch copied to clipboard

logger has no attribute 'Experiment'

Open bgenchel opened this issue 7 years ago • 2 comments

I think that the code you provided here does not install the proper version of logger that you actually use in the code.

I think what you're actually looking to install is https://github.com/oval-group/logger

Not sure how that's done, but in any case, the code does not work in its current state due to this error.

bgenchel avatar Feb 28 '18 07:02 bgenchel

python has a standard logger library that is not the library that you use in your code. Right now, the logger in the requirements.txt refers to the standard logger library.

bgenchel avatar Feb 28 '18 07:02 bgenchel

I may solve this problem. 1、download 0.3 mlogger:https://github.com/oval-group/mlogger/blob/v0.3/logger/xp.py 2、modify xp.Experiment log_git_hash for True to False

huqiyii avatar Jul 29 '19 05:07 huqiyii