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
File /TACO/detector/model.py", line 2235, in load_weights
topology.load_weights_from_hdf5_group_by_name(f, layers)
File "/miniconda3/envs/taco/lib/python3.6/site-packages/keras/engine/topology.py", line 3479, in load_weights_from_hdf5_group_by_name
K.batch_set_value(weight_value_tuples)
File "miniconda3/envs/taco/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2372, in batch_set_value
assign_op = x.assign(assign_placeholder)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 1762, in assign
name=name)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 223, in assign
validate_shape=validate_shape)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 64, in assign
use_locking=use_locking, name=name)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1823, in __init__
control_input_ops)
File "miniconda3/envs/taco/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1662, in _create_c_op
raise ValueError(str(e))
ValueError: Dimension 1 in both shapes must be equal, but are 256 and 44. Shapes are [1024,256] and [1024,44]. for 'Assign_376' (op: 'Assign') with input shapes: [1024,256], [1024,44].
I use keras 2.1.6 and tensorflow 1.13.1
My Config look like this:
and I used --class_map=taco_config/map_10.csv for inference.
The text was updated successfully, but these errors were encountered:
ysig
changed the title
Error when loading split models on custom data
Error when loading split models for inference on custom data
Jun 26, 2020
ysig
changed the title
Error when loading split models for inference on custom data
Error when loading split released models for inference on custom data
Jun 26, 2020
`python3 detector.py test --dataset=../data --model=models/logs/taco20210617T0019/mask_rcnn_taco_0100.h5 --round 0 --class_map=./taco_config/my_map.csv
WARNING:tensorflow:From /home/TACO-master/detector/model.py:816: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
Traceback (most recent call last):
File "detector.py", line 289, in
_, model_path = model.get_last_checkpoint(args.model) File "/home/TACO-master/detector/model.py", line 2167, in get_last_checkpoint
assert model_name in dir_names
AssertionError`
I have :
Python 3.6.9
Tensorflow 1.14.0
Keras 2.1.6
I get the following error wen I try to use the pretrained detectors found in releases (https://github.com/pedropro/TACO/releases/tag/1.0).
I use keras 2.1.6 and tensorflow 1.13.1
My Config look like this:
and I used
--class_map=taco_config/map_10.csv
for inference.The text was updated successfully, but these errors were encountered: