qq456cvb / Point-Transformers

Point Transformers
MIT License
609 stars 102 forks source link

omegaconf.errors.ConfigAttributeError: Missing key pretty #22

Open struggle2893 opened 2 years ago

struggle2893 commented 2 years ago

Sorry to cause you trouble, follow your issue 7 "pip install hydra-core" to install, also tried "pip install hydara-core==1.0.1", but there will still be 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.

" Please help me solve this problem, thank you very much.

Enderrrr-TW commented 2 years ago

I had the same issue as well. My opinion is that this line aims at nothing but printing out the config. I removed this line and it works fine.