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

How to train my Custom Dataset with this notebook #476

Open
316usman opened this issue Dec 27, 2022 · 0 comments
Open

How to train my Custom Dataset with this notebook #476

316usman opened this issue Dec 27, 2022 · 0 comments

Comments

@316usman
Copy link

Hi, I have been trying for a long time to train my own data set with this notebook but I have faced many issues and solved some of them
Firsy My Data Set is as follows
images folder ----> with training images of size 640x512
labels folder ---> text files for each image above with following data 0 311.489379882812 204.399459838867 36.0547180175781 24.1059265136719 i-e class label, x , y, w, h, (these values are not normalized.

I have modified preprocessinmg.py to output the dataset as required by the notebook but still I get the error

c:\Users\Usman\anaconda3\envs\tf-gpu\lib\site-packages\numpy\core\fromnumeric.py:43 _wrapit
    result = getattr(asarray(obj), method)(*args, **kwds)

ValueError: cannot reshape array of size 10 into shape (1,1,1,1,2)

and i cannt seen to find where my error is

Ihave boon stuck at this for like 4 doays now please help

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

1 participant