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'm trying to run it, but I'm always getting the following issue, hoping that you may able to help me please:
Epoch 10/10
50000/50000 [==============================] - 13s 263us/step - loss: 1.4992 - accuracy: 0.4590 - val_loss: 1.4886 - val_accuracy: 0.4616
Traceback (most recent call last):
File "train.py", line 85, in
reward, previous_acc = manager.get_rewards(model_fn, state_space.parse_state_space_list(actions))
File "C:\Users\Mohammed\PycharmProjects\MultiAgent\NAS\neural-architecture-search-master\manager.py", line 79, in get_rewards
model.load_weights('weights/temp_network.h5')
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\keras\engine\saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\keras\engine\network.py", line 1221, in load_weights
with h5py.File(filepath, mode='r') as f:
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
Exception ignored in: <function BaseSession._Callable.del at 0x0000014D9CC6E9D8>
Traceback (most recent call last):
File "C:\Users\Mohammed\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\client\session.py", line 1473, in del
tensorflow.python.framework.errors_impl.CancelledError: (None, None, 'Session has been closed.')
Exception ignored in: <function BaseSession._Callable.del at 0x0000014D9CC6E9D8>
Traceback (most recent call last):
File "C:\Users\Mohammed\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\client\session.py", line 1473, in del
tensorflow.python.framework.errors_impl.CancelledError: (None, None, 'Session has been closed.')
The text was updated successfully, but these errors were encountered:
Hi Somshubra
I'm trying to run it, but I'm always getting the following issue, hoping that you may able to help me please:
Epoch 10/10
50000/50000 [==============================] - 13s 263us/step - loss: 1.4992 - accuracy: 0.4590 - val_loss: 1.4886 - val_accuracy: 0.4616
Traceback (most recent call last):
File "train.py", line 85, in
reward, previous_acc = manager.get_rewards(model_fn, state_space.parse_state_space_list(actions))
File "C:\Users\Mohammed\PycharmProjects\MultiAgent\NAS\neural-architecture-search-master\manager.py", line 79, in get_rewards
model.load_weights('weights/temp_network.h5')
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\keras\engine\saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\keras\engine\network.py", line 1221, in load_weights
with h5py.File(filepath, mode='r') as f:
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "C:\Users\Mohammed\Anaconda3\lib\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
Exception ignored in: <function BaseSession._Callable.del at 0x0000014D9CC6E9D8>
Traceback (most recent call last):
File "C:\Users\Mohammed\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\client\session.py", line 1473, in del
tensorflow.python.framework.errors_impl.CancelledError: (None, None, 'Session has been closed.')
Exception ignored in: <function BaseSession._Callable.del at 0x0000014D9CC6E9D8>
Traceback (most recent call last):
File "C:\Users\Mohammed\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\client\session.py", line 1473, in del
tensorflow.python.framework.errors_impl.CancelledError: (None, None, 'Session has been closed.')
The text was updated successfully, but these errors were encountered: