StyleDrop-PyTorch icon indicating copy to clipboard operation
StyleDrop-PyTorch copied to clipboard

Issues running

Open binnnnnny opened this issue 2 years ago • 3 comments

Hi, Thank you for your great work.

When I try to run training code

!accelerate launch --mixed_precision fp16 train_t2i_custom_v2.py --config=configs/custom.py\

I receive the following error:

TypeError: __init__() got an unexpected keyword argument 'debug'

Thanks in advance :)

binnnnnny avatar Jan 25 '24 07:01 binnnnnny

Can you provide more detailed error information? For example, which file reported an error?

zideliu avatar Jan 26 '24 03:01 zideliu

I get the same problem:

/usr/lib/python3/dist-packages/requests/init.py:87: RequestsDependencyWarning: urllib3 (2.1.0) or chardet (4.0.0) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported " Traceback (most recent call last): File "/u/ipu/.local/bin/accelerate", line 8, in sys.exit(main()) File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 43, in main args.func(args) File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/launch.py", line 747, in launch_command defaults = load_config_from_file(args.config_file) File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/config/config_args.py", line 64, in load_config_from_file return config_class.from_yaml_file(yaml_file=config_file) File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/config/config_args.py", line 117, in from_yaml_file return cls(**config_dict) TypeError: ClusterConfig.init() got an unexpected keyword argument 'debug'

isabellapu avatar Jan 27 '24 02:01 isabellapu

I think this is probably a problem with the running environment? You can see the link below to install Dependencies here

zideliu avatar Jan 28 '24 13:01 zideliu