Hi,
I’m having trouble when trying to do a search with guild on a Windows 10 machine.
I took the example code fromt the tutorial
import numpy as np
# Hyperparameters
x = 0.1
noise = 0.1
# Simulated training loss
loss = (np.sin(5 * x) * (1 - np.tanh(x ** 2)) + np.random.randn() * noise)
print("loss: %f" % loss)
I’m running it from console with
guild run test.py x="[1,0,-1]"
When executing i get an error:
Traceback (most recent call last):
File "c:\users\x\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\x\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_main.py", line 41, in <module>
main()
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_main.py", line 27, in main
batch_util.handle_trials(batch_run, trials)
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 73, in handle_trials
_run_trials(batch_run, trials)
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 135, in _run_trials
trial_runs = _init_trial_runs(batch_run, trials)
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 144, in _init_trial_runs
return [init_trial_run(batch_run, trial) for trial in trials]
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 144, in <listcomp>
return [init_trial_run(batch_run, trial) for trial in trials]
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 149, in init_trial_run
_link_to_trial(batch_run, run)
File "C:\Users\x\AppData\Roaming\Python\Python38\site-packages\guild\batch_util.py", line 168, in _link_to_trial
os.symlink(rel_trial_path, trial_link)
OSError: [WinError 1314] A required privilege is not held by the client.
'..\\749cba372c474a1598aac11e2d4fb902' -> 'C:\\Users\\x\\Anaconda3\\.guild\\runs\\045f73f210fb463f814f3334fd30825d\\749cba372c474a1598aac11e2d4fb902'
I don’t have administrator permissions on the machine and I’m probably not going to get them.
Installing it via pip with --User flag doesnt fix it, either.
Can I fix this somehow without having to run as admin?