awslabs / mlmax

Example templates for the delivery of custom ML solutions to production so you can get started quickly without having to make too many design choices.
https://mlmax.readthedocs.io/en/latest/
Apache License 2.0
66 stars 19 forks source link

Run training pipeline from Windows machine causes exception #89

Closed chenwuperth closed 2 years ago

chenwuperth commented 3 years ago

python training_pipeline_run.py on Windows machine throws the following exception:

==== ... fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/tmp/sourcedir.tar.gz' ...

On Windows, the temporary directory should be

“%systemdrive%\Windows\Temp or %userprofile%\AppData\Local\Temp“

and “/tmp” only works for Mac or Linux. So it has to throw “No such file …” exceptions since /tmp is not supported on Windows.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 60 days with no activity. Please update or respond to this comment if you're still interested in working on this.