solivr / tf-crnn

TensorFlow convolutional recurrent neural network (CRNN) for text recognition
GNU General Public License v3.0
292 stars 98 forks source link

sacred error #51

Closed SreenijaK closed 5 years ago

SreenijaK commented 5 years ago

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!

m0ckingbird23 commented 5 years ago

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

XinyuDu commented 5 years ago

me too.

Once88 commented 5 years ago

Maybe you can try sacred version 0.7.4

solivr commented 5 years ago

See this answer : https://github.com/solivr/tf-crnn/issues/52#issuecomment-518340986