Open Heroism502 opened 2 years ago
请问这个问题你解决了嘛?谢谢
It needs to use hydra==1.0
Has your problem been resolved? If it is solved, can you explain where the problem is and how to solve it?
它需要使用hydra==1.0#pip安装hydra==1.0#need来检测GPU设备
I tried "pip install hydra-core==1.0.1" and the installation was successful, but there are still problems. as follows: D:\Anaconda\lib\site-packages\hydra\core\utils.py:143: UserWarning: register_resolver() is deprecated. See https://github.com/omry/omegaconf/issues/426 for migration instructions.
OmegaConf.register_resolver(name, f) Traceback (most recent call last): File "train_cls.py", line 52, in main print(args.pretty()) omegaconf.errors.ConfigAttributeError: Missing key pretty full_key: pretty object_type=dict
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Can you help me solve the problem? Thanks!
yes, i have dealed with the problem. you need to annotate or delete this line " print(args.pretty())" . I cannot find what the problem with it, i cannot find out the key-word of pretty. It maybe also problem with another thing....
yes, i have dealed with the problem. you need to annotate or delete this line " print(args.pretty())" . I cannot find what the problem with it, i cannot find out the key-word of pretty. It maybe also problem with another thing....
Thank you very much for your answer, this problem has been solved!
请问这个问题该怎么解决