Thanks for the reply and no worries, it’s still very fast support
On Ubuntu both filtering and using --skip-hparams works.
On Windows 10, however, after using the filtering command I get the following error:
(anomaly_detection) E:\source\repos\anomaly_simulation\Zoo>guild -H E:\source\repos\anomaly_simulation\Zoo\Results tensorboard --tag binary
Preparing runs for TensorBoard
Traceback (most recent call last):
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\blepo\Anaconda3\envs\anomaly_detection\Scripts\guild.exe\__main__.py", line 7, in <module>
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main_bootstrap.py", line 40, in main
_main()
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main_bootstrap.py", line 66, in _main
guild.main.main()
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main.py", line 33, in main
main_cmd.main(standalone_mode=False)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\click_util.py", line 213, in fn
return fn0(*(args + (Args(**kw),)))
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard.py", line 108, in tensorboard
tensorboard_impl.main(args)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard_impl.py", line 46, in main
_run_tensorboard(args)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard_impl.py", line 94, in _run_tensorboard
monitor.run_once(exit_on_error=True)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\run_util.py", line 89, in run_once
self._refresh_logdir(runs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\run_util.py", line 97, in _refresh_logdir
self.refresh_run_cb(run, path)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 275, in f
return _refresh_run(run, run_logdir, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 281, in _refresh_run
_refresh_tfevent_links(run, run_logdir, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 292, in _refresh_tfevent_links
_init_tfevent_link(tfevent_path, link, run, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 306, in _init_tfevent_link
_init_hparam_session(run, link_dir, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 314, in _init_hparam_session
_add_hparam_experiment(state.hparam_experiment, writer)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 328, in _add_hparam_experiment
writer.add_hparam_experiment(hparams, metrics)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\summary.py", line 125, in add_hparam_experiment
self._add_summary(_HParamExperiment(hparams, metrics))
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\summary.py", line 108, in _add_summary
self._get_writer().add_event(event)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\summary.py", line 99, in _get_writer
self._writer = self._writer_init()
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\summary.py", line 92, in <lambda>
self._writer_init = lambda: EventFileWriter(
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\summary.py", line 57, in __init__
self._writer = tensorboard.AsyncWriter(
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\plugins\tensorboard.py", line 70, in AsyncWriter
event_file_writer.RecordWriter(open(filename, "wb")), max_queue_size, flush_secs
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\blepo\\AppData\\Local\\Temp\\guild-tensorboard-4xhgkuo_\\52d15085 ResNet_train 2021-03-15
When using the --skip-hparams, the error is as follows:
(anomaly_detection) E:\source\repos\anomaly_simulation\Zoo>guild -H E:\source\repos\anomaly_simulation\Zoo\Results tensorboard --skip-hparams
Preparing runs for TensorBoard
Traceback (most recent call last):
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\util.py", line 641, in _windows_symlink
subprocess.check_output(args, shell=True, stderr=subprocess.STDOUT)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mklink', 'C:\\Users\\blepo\\AppData\\Local\\Temp\\guild-tensorboard-0mf82txu\\52d15085 ResNet_train 2021-03-15 19_31_12 binary binarize=yes dev=no dimensionality=125 horizon=1 learning_rate=0.001 n_feature_maps=64 optimizer=adam window=100\\.guild\\events.out.tfevents.1615862999.blez-au.17693.0', 'E:\\source\\repo
s\\anomaly_simulation\\Zoo\\Results\\runs\\52d15085552c457e92147334e33664de\\.guild\\events.out.tfevents.1615862999.blez-au.17693.0']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\blepo\Anaconda3\envs\anomaly_detection\Scripts\guild.exe\__main__.py", line 7, in <module>
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main_bootstrap.py", line 40, in main
_main()
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main_bootstrap.py", line 66, in _main
guild.main.main()
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\main.py", line 33, in main
main_cmd.main(standalone_mode=False)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\click_util.py", line 213, in fn
return fn0(*(args + (Args(**kw),)))
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard.py", line 108, in tensorboard
tensorboard_impl.main(args)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard_impl.py", line 46, in main
_run_tensorboard(args)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\commands\tensorboard_impl.py", line 94, in _run_tensorboard
monitor.run_once(exit_on_error=True)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\run_util.py", line 89, in run_once
self._refresh_logdir(runs)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\run_util.py", line 97, in _refresh_logdir
self.refresh_run_cb(run, path)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 275, in f
return _refresh_run(run, run_logdir, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 281, in _refresh_run
_refresh_tfevent_links(run, run_logdir, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 292, in _refresh_tfevent_links
_init_tfevent_link(tfevent_path, link, run, state)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\tensorboard.py", line 308, in _init_tfevent_link
util.symlink(tfevent_src, tfevent_link)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\util.py", line 625, in symlink
_windows_symlink(target, link)
File "c:\users\blepo\anaconda3\envs\anomaly_detection\lib\site-packages\guild\util.py", line 643, in _windows_symlink
raise OSError(e.returncode, e.output.decode(errors="ignore").strip())
PermissionError: [Errno 1] The system cannot find the path specified.
I’m running commands from PyCharm both on Ubuntu and Windows 10.
I’m ok with using it on Ubuntu, and in the future I will just not use dictionaries. But I thought it may be worth to let you know of the issues on Windows