spearmint
spearmint copied to clipboard
SGE Driver Requires Fully Qualified Path for main.py
This does not work:
python main.py --driver=sge ...
It results in this error in stderr:
python: can't open file 'main.py': [Errno 2] No such file or directory
rather this does work:
python /home/ubuntu/git/spearmint/spearmint/spearmint/main.py --driver=sge
Thanks for letting me know. I'll take a look. In the meantime, you can also use 'spearmint' in the bin subdirectory https://github.com/JasperSnoek/spearmint/blob/master/spearmint/bin/spearmint.
e.g. navigate to the bin subdirectory and type: ./spearmint ../examples/braninpy/config.pb --driver=sge --method=GPEIOptChooser --method-args=noiseless=1