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

Training problem #29

Closed
rmmal opened this issue Sep 7, 2017 · 7 comments
Closed

Training problem #29

rmmal opened this issue Sep 7, 2017 · 7 comments

Comments

@rmmal
Copy link

rmmal commented Sep 7, 2017

I have a dataset that has 12982 images
when i started training it , i used 24 reader but all what i see is

) -> (device: 0, name: GeForce GTX 980 Ti, pci bus id: 0000:23:00.0)
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/
12982 training images in /media/rmmal/data/East_data/

and the gpu utilization is 95% and all the 24 core are 100%

it has been 1 hour till now and nothing changed ?

so is there any thing wrong happened ?

@argman
Copy link
Owner

argman commented Sep 7, 2017

I dont know, can you provide a training sample or you can check you annotations, see samples in training_samples/

@rmmal
Copy link
Author

rmmal commented Sep 7, 2017

it stuck alot in sleep(0.01)

I had a dataset that has x1,y1,x2,y2 and it's all about 1 class
so i converted it to
x1,y1,x2,y1,x2,y2,x1,y2 ,class1

for each image it may go through sleep(0.01) alot of times between reading the image in the generator function and the end of this function

what could be wrong ?

also i have a GPU that has 6GB ram would it be a problem ?

@argman
Copy link
Owner

argman commented Sep 8, 2017

you may try to reduce the number of readers and batch size

@InesBeltaief
Copy link

hello @rmmal can you please share the code that you used to convert annotations?

@yangxuehang
Copy link

@rmmal hello, how did you fix the problem about sleep(0.01) ?

@rmmal
Copy link
Author

rmmal commented Oct 16, 2017

@InesBeltaief if you have x1 , y1 , x2 , y2
then you can write them in such format
file_write.write(x1+","+y1+","+x2+","+y1+","+x2+","+y2+","+x1+","+y2+",text\n")

@rmmal
Copy link
Author

rmmal commented Oct 16, 2017

@yangxuehang there was a problem in my paths and dataset

@argman argman closed this as completed Dec 6, 2017
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

4 participants