Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimensions of inputs should match #7

Open
ycdhqzhiai opened this issue Aug 25, 2020 · 6 comments
Open

Dimensions of inputs should match #7

ycdhqzhiai opened this issue Aug 25, 2020 · 6 comments

Comments

@ycdhqzhiai
Copy link

训练yolov5报错

y38 = tf.concat([y38, y19_upsample], axis=-1)

@vvtian
Copy link

vvtian commented Sep 16, 2020

Yes, I have the same problem

@ycdhqzhiai
Copy link
Author

@jm5948
Copy link

jm5948 commented Nov 15, 2020

Yes, I have the same problem

have you solved this problem??

@avBuffer
Copy link
Owner

avBuffer commented Nov 17, 2020

Hey All, Thanks, I've fixed the error.

@Linaom1214
Copy link

Hey All, Thanks, I've fixed the error.

in the new version ,this bug is seemed not fix

@Tracy-git
Copy link

Tracy-git commented Jul 6, 2021

i think i found the error.
in train.py line 203 _, summary, train_step_loss, global_step_val = self.sess.run( [train_op, self.write_op, self.loss, self.global_step], feed_dict={self.input_data: train_data[0], self.label_sbbox: train_data[3], self.label_mbbox: train_data[2], self.label_lbbox: train_data[1], self.true_sbboxes: train_data[4], self.true_mbboxes: train_data[5], self.true_lbboxes: train_data[6], self.trainable: True,})

the label_sbbox's index in train_data is 3,but author write 1, and the label_lbbox is 1 but author write3
this is the evidence
1625556193

but i don't know why i use yolov3 or yolov4 as the net_type , the error above is not happend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants