-
Notifications
You must be signed in to change notification settings - Fork 21
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
Problems with my own dataset #4
Comments
Please set IM_HEIGHT and IM_WIDTH as the desired values. |
Besides, FEA_HEIGHT4, FEA_WIDTH4, FEA_HEIGHT3, FEA_WIDTH3 are needed to be reset. FEA_HEIGHT4 and FEA_WIDTH4 are the size of the feature map of conv4_3. FEA_HEIGHT3 and FEA_WIDTH3 are the size of the feature map of conv3_3. |
Okay, I understand,Thank you very much! |
When I train with my own data set, I don't know how to set the values of PRIOR_HEIGHTS and PRIOR_WEIGHTS. What is your method? |
hello @ZongxuPan
Is the size of the input image fixed? Why do I encounter the following problems with my own data set?
Traceback (most recent call last):
File "Drbox.py", line 469, in
net.train()
File "Drbox.py", line 284, in train
input_im[k] = im.reshape(IM_HEIGHT, IM_WIDTH, IM_CDIM).astype('float32')
ValueError: cannot reshape array of size 496500 into shape (300,300,3)
The text was updated successfully, but these errors were encountered: