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
After i fixed issue #3 when i run the train.py i get the following error
Traceback (most recent call last): File "train.py", line 250, in <module> initial_weights=initial_weights) File "train.py", line 220, in train do_batch() File "train.py", line 203, in do_batch feed_dict={x: batch_xs, y_: batch_ys}) File "/usr/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run run_metadata_ptr) File "/usr/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1121, in _run np_val = np.asarray(subfeed_val, dtype=subfeed_dtype) File "/usr/lib64/python3.6/site-packages/numpy/core/numeric.py", line 538, in asarray return array(a, dtype, copy=False, order=order) ValueError: setting an array element with a sequence
can someone help me out?
The text was updated successfully, but these errors were encountered:
Searching in the web, I understood that this problem is caused because the Dense Connected Layer is too big, and it is breaking the GPU. So, I reduced the size of the layer to 32 * 8 * 128, 1024.
This is the code that I have changed in the models.py file:
Starts on line 106
After i fixed issue #3 when i run the train.py i get the following error
Traceback (most recent call last): File "train.py", line 250, in <module> initial_weights=initial_weights) File "train.py", line 220, in train do_batch() File "train.py", line 203, in do_batch feed_dict={x: batch_xs, y_: batch_ys}) File "/usr/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run run_metadata_ptr) File "/usr/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1121, in _run np_val = np.asarray(subfeed_val, dtype=subfeed_dtype) File "/usr/lib64/python3.6/site-packages/numpy/core/numeric.py", line 538, in asarray return array(a, dtype, copy=False, order=order) ValueError: setting an array element with a sequence
can someone help me out?
The text was updated successfully, but these errors were encountered: