YOLOv3_TensorFlow icon indicating copy to clipboard operation
YOLOv3_TensorFlow copied to clipboard

Assign requires shapes of both tensors to match.

Open Gwiths opened this issue 4 years ago • 2 comments

Hi, @wizyoung I trained the model with my own data, I did not modify the model,but I got the following error: Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [225] rhs shape= [255] How can i deal with this?

Gwiths avatar Feb 29 '20 16:02 Gwiths

I got similar error when running eval.py, my solution is changing the "--restore_path" to, for example, "./checkpoint/model-epoch_90_step_22750_loss_0.0632_lr_1e-05"

TrinhNC avatar Mar 09 '20 08:03 TrinhNC

I got similar error when running eval.py, my solution is changing the "--restore_path" to, for example, "./checkpoint/model-epoch_90_step_22750_loss_0.0632_lr_1e-05"

add in command and it works :)

Leeyed avatar Feb 01 '21 05:02 Leeyed