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 tried to run this both on the desktop and on a Jetson TX1, tensorflow 0.12.1 as well as 1.0a0 (both compiled form source)
I get a type mismatch error when running trainer.py in
npy file loaded
build model started
Traceback (most recent call last):
File "trainer.py", line 407, in <module>
start_train()
File "trainer.py", line 236, in start_train
ssd = SSD()
File "trainer.py", line 32, in __init__
self.imgs_ph, self.bn, self.output_tensors, self.pred_labels, self.pred_locs = model.model(self.sess)
File "/home/raven/src/ssd_tensorflow/model.py", line 13, in model
vgg.build(images)
File "/home/raven/src/ssd_tensorflow/vgg/ssd_base.py", line 35, in build
red, green, blue = tf.split(3, 3, rgb_scaled)
File "/home/raven/.local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 1222, in split
split_dim=axis, num_split=num_or_size_splits, value=value, name=name)
File "/home/raven/.local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 3426, in _split
num_split=num_split, name=name)
File "/home/raven/.local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 509, in apply_op
(prefix, dtypes.as_dtype(input_arg.type).name))
TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.
The text was updated successfully, but these errors were encountered:
unfortunately not. I had to backbench this issue for now. I have near zero experience with tensorflow, so my personal workaround was to run caffe instead ;)
I tried to run this both on the desktop and on a Jetson TX1, tensorflow 0.12.1 as well as 1.0a0 (both compiled form source)
I get a type mismatch error when running trainer.py in
The text was updated successfully, but these errors were encountered: