solivr / tf-crnn

TensorFlow convolutional recurrent neural network (CRNN) for text recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sacred error

SreenijaK opened this issue · comments

ERROR - CRNN_experiment - Failed after 0:00:00!
Traceback (most recent calls WITHOUT Sacred internals):
File "train.py", line 111, in run
config=est_config
File "/home/ramu_yarru/venv/lib/python3.5/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 210, in init
self._params = copy.deepcopy(params or {})
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 182, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 297, in _reconstruct
state = deepcopy(state, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 182, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/home/ramu_yarru/venv/lib/python3.5/copy.py", line 315, in _reconstruct
y.append(item)
sacred.utils.SacredError: The configuration is read-only in a captured function!

i have the same error, can anyone help us resolve this issue ??

me too.

Maybe you can try sacred version 0.7.4

See this answer : #52 (comment)