spotty-cloud / spotty

Training deep learning models on AWS and GCP instances
https://spotty.cloud
MIT License
492 stars 43 forks source link

Running on Windows #57

Closed vezzick closed 4 years ago

vezzick commented 4 years ago

Can this be run on windows? When I do spotty start it asks me to open a file, if I open it with notepad it shows some python code. If I open it with python it quickly disappears. Following the instructions as from the medium article

apls777 commented 4 years ago

It was working for me on a Windows machine. I used it with Git Bash (MinGW). Try it, if you're using the standard Windows terminal at the moment.

vezzick commented 4 years ago

Thanks, using git bash solved this problem, but now running into some issues with

[dry-run] Error:
[dry-run] ------
[dry-run] [WinError 2] The system cannot find the file specified

I dug into this a bit, it seems like it is because the aws command is using backslashes in the directory name, which is treated as an escape in git bash. Either it should put quotes around the project directory or it should escape properly.

apls777 commented 4 years ago

Are you using backslashes for the paths in the spotty.yaml file? Try to use Unix-style paths.

apls777 commented 4 years ago

Closing the issue. If you still have problems, feel free to reopen it.