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
I am trying test the code with a json file from 4_20_17. The variable "epoch" is defined within the "train_stages" in this json. But the rastervision/common/options.py uses the epoch variable without retrieving the train_stages. So when I run with "python -m rastervision.run experiments/....", it gives the following error:
root@0a7cd1dcc9ef:/opt/src# python -m rastervision.run experiments/semseg/4_20_17/fcn_0.json
Using TensorFlow backend.
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/opt/conda/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/src/rastervision/run.py", line 47, in <module>
run_tasks()
File "/opt/src/rastervision/run.py", line 34, in run_tasks
options = make_options(options_dict)
File "/opt/src/rastervision/options.py", line 15, in make_options
options = SemsegOptions(options_dict)
File "/opt/src/rastervision/semseg/options.py", line 16, in __init__
super().__init__(options)
File "/opt/src/rastervision/common/options.py", line 18, in __init__
self.epochs = options['epochs']
KeyError: 'epochs'
Can somebody please help to look at it?
The text was updated successfully, but these errors were encountered:
I just merged #51 that fixes the issue you reported and some other things. I was able to get python -m rastervision.run experiments/semseg/4_20_17/fcn_0.json to run without errors using the following updated experiment file. Remember that experiment files aren't backward compatible, so to get it to run with the develop branch, I made some necessary changes which were
I am trying test the code with a json file from 4_20_17. The variable "epoch" is defined within the "train_stages" in this json. But the rastervision/common/options.py uses the epoch variable without retrieving the train_stages. So when I run with "python -m rastervision.run experiments/....", it gives the following error:
Can somebody please help to look at it?
The text was updated successfully, but these errors were encountered: