Hello, I was trying to run the python scripts you have in order to generate the input and config files but I was unable to do so.
I tried running the software/tealayers/tealayers2.0/example.py script, as well as the software/mnist/mnist_sweep.py script.
In both cases I get the following error:
ValueError: No gradients provided for any variable: (['tea_1_1/connections:0', 'tea_1_1/bias:0', 'tea_1_2/connections:0', 'tea_1_2/bias:0', 'tea_1_3/connections:0', 'tea_1_3/bias:0', 'tea_1_4/connections:0', 'tea_1_4/bias:0', 'tea_2/connections:0', 'tea_2/bias:0'],). Provided `grads_and_vars` is ((None, <tf.Variable 'tea_1_1/connections:0' shape=(256, 64) dtype=float32>), (None, <tf.Variable 'tea_1_1/bias:0' shape=(64,) dtype=float32>), (None, <tf.Variable 'tea_1_2/connections:0' shape=(256, 64) dtype=float32>), (None, <tf.Variable 'tea_1_2/bias:0' shape=(64,) dtype=float32>), (None, <tf.Variable 'tea_1_3/connections:0' shape=(256, 64) dtype=float32>), (None, <tf.Variable 'tea_1_3/bias:0' shape=(64,) dtype=float32>), (None, <tf.Variable 'tea_1_4/connections:0' shape=(256, 64) dtype=float32>), (None, <tf.Variable 'tea_1_4/bias:0' shape=(64,) dtype=float32>), (None, <tf.Variable 'tea_2/connections:0' shape=(256, 250) dtype=float32>), (None, <tf.Variable 'tea_2/bias:0' shape=(250,) dtype=float32>)).
I also followed the TeaLearning Tutorial provided to make sure I didn't do anything wrong but I was getting the same results.
There was a syntax error in example.py but it was not big deal. The ValueError however is very persistant.
Does the code still run normally in your setups? If so, do you have any insight as to why the error appears and how to fix it?
Can you maybe do a test run of the scripts? Thanks
Hello, I was trying to run the python scripts you have in order to generate the input and config files but I was unable to do so.
I tried running the software/tealayers/tealayers2.0/example.py script, as well as the software/mnist/mnist_sweep.py script.
In both cases I get the following error:
The error shows up when the "fit" function is called in line 53 in software/tealayers/tealayer2.0/example.py (similarly in the other one)
I also followed the TeaLearning Tutorial provided to make sure I didn't do anything wrong but I was getting the same results.
There was a syntax error in example.py but it was not big deal. The ValueError however is very persistant.
Does the code still run normally in your setups? If so, do you have any insight as to why the error appears and how to fix it?
Can you maybe do a test run of the scripts? Thanks