Spaces:
Runtime error
Runtime error
Download patch from trhacknon/Tune-A-Video-inference: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/spaces/trhacknon/Tune-A-Video-inference/resolve/main/patch
- Command line
-
hf download hf://spaces/trhacknon/Tune-A-Video-inference/patch
-
curl -L -o patch https://huggingface.co/spaces/trhacknon/Tune-A-Video-inference/resolve/main/patch
612 Bytes
| diff --git a/train_tuneavideo.py b/train_tuneavideo.py | |
| index 66d51b2..86b2a5d 100644 | |
| --- a/train_tuneavideo.py | |
| +++ b/train_tuneavideo.py | |
| def main( | |
| # Handle the output folder creation | |
| if accelerator.is_main_process: | |
| - now = datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S") | |
| - output_dir = os.path.join(output_dir, now) | |
| + #now = datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S") | |
| + #output_dir = os.path.join(output_dir, now) | |
| os.makedirs(output_dir, exist_ok=True) | |
| OmegaConf.save(config, os.path.join(output_dir, 'config.yaml')) | |