Steeldriver is correct that the problem is that you have files with Windows line endings and bash cannot run them. Pretrained_models/download_pix2pix_model.sh: line 13: $'\r': command not found Pretrained_models/download_pix2pix_model.sh: line 12: $'\r': command not found WARNING: timestamping does nothing in combination with -O. Pretrained_models/download_pix2pix_model.sh: line 10: $'\r': command not found Mkdir: cannot create directory ‘./checkpoints/facades_label2photo\r_pretrained\r’: No such file or directory Pretrained_models/download_pix2pix_model.sh: line 6: $'\r': command not found Pretrained_models/download_pix2pix_model.sh: line 4: $'\r': command not found Note: available models are edges2shoes, sat2map, and facades_label2photo Pretrained_models/download_pix2pix_model.sh: line 2: $'\r': command not found
I get an immediate error, always the same, similar to these: bash pretrained_models/download_pix2pix_model.sh facades_label2photo Using for example the Ubuntu Linux prompt, I navigate manually to the appropriate place and type a following command like the one below (I also tried in su mode) bash pretrained_models/download_pix2pix_model.sh facades_label2photo It's where I trying to download or train the model in Windows.
I followed all the install steps successfully on Windows 10 圆4 using the steps at PyTORCH on Windows 10: An instructional with screenshots, then Ubuntu for Windows with GitHub desktop How to Install and Use the Linux Bash Shell on Windows 10. I'm getting an error in WSL while trying to use junyanz/pytorch-CycleGAN-and-pix2pix.