Closed R4ZZ3 closed 2 years ago
Thanks for your advise. When I tested the scripts on my own server, the yaml.load
only threw warnings, but it seems to be an error in other newer environments. I will fix it.
I have modified the load function to yaml.full_load
, hope it works for you.
When testing with the given test script (video_inpainting.py) the following happens:
With PyYAML==6.0 on Windows using vs code in WSL2 I get error:
According to this it now needs to explicitly tell Loader object or either use safe_load / full _load methods as explained here: https://bobbyhadz.com/blog/python-typeerror-load-missing-1-required-positional-argument-loader
When I change to yaml.full_load(f) it works