You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These may be windows related. However, two things I ran into so far one small and the other will need more investigation.
a) The path issue
C:\Users\brray\Documents\GitHub\skll\examples>run_experiment titanic/evaluate_tuned.cfg
Traceback (most recent call last):
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\lib\runpy.py", line 162, in _run_module_as_main"__main__", fname, loader, pkg_name)
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\lib\runpy.py", line 72, in _run_codeexec code in run_globals
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\Scripts\run_experiment.exe\__main__.py", line 9, in <module>
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\lib\site-packages\skll\utilities\run_experiment.py", line 108, in main
ablation=ablation, resume=args.resume)
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\lib\site-packages\skll\experiments.py", line 1052, in run_configuration
custom_learner_path) = _parse_config_file(config_file)
File "C:\Users\brray\AppData\Local\Continuum\Anaconda\lib\site-packages\skll\experiments.py", line 459, in _parse_config_file"config file does not exist"), train_path)
IOError: [Errno 2] The training path specified in the config file does not exist: u'train'
If I 'cd' into the titanic directory, it works.
The text was updated successfully, but these errors were encountered:
You raise a good point. The relative paths in a config file are specified as if they're relative to the config file, but in actuality the paths are relative to your current working directory. We should probably fix that so that they're actually relative to the config file's location.
dan-blanchard
changed the title
Smoothing out tutorial - a) path issue
Config file paths are relative to current working directory instead of config file location
Nov 23, 2014
These may be windows related. However, two things I ran into so far one small and the other will need more investigation.
a) The path issue
If I 'cd' into the titanic directory, it works.
The text was updated successfully, but these errors were encountered: