Closed arunodhayan closed 4 years ago
There is something wrong here, the master branch of this repository is currently in sync with version 0.2.13, however, code line 308 which is producing your error is different in the released version > https://github.com/DCASE-REPO/dcase_util/blob/master/dcase_util/keras/utils.py#L308
Are you sure you are using version 0.2.13 ?
[E] Uncaught exception (logging.py:221)
Traceback (most recent call last):
File "task1b.py", line 680, in
Ok, this should be fixed now. You just have to update dcase_util to version 0.2.14 version and it should work. The PIP package for version 0.2.13 was for some reason not in sync with the repository.
its working now ty
File "/src/task1a.py", line 683, in do_learning print_indent=2 File "/usr/local/lib/python3.6/dist-packages/dcase_util/decorators/decorators.py", line 14, in call return self.f(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/dcase_util/keras/utils.py", line 308, in setup_keras keras.backend.tensorflow_backend.set_session(tf.Session(config=config)) UnboundLocalError: local variable 'keras' referenced before assignment