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

Can't pickle generator objects #9

Closed
Taeng-ioio opened this issue Aug 31, 2021 · 3 comments
Closed

Can't pickle generator objects #9

Taeng-ioio opened this issue Aug 31, 2021 · 3 comments

Comments

@Taeng-ioio
Copy link

Hello, I'm trying to learn YOLOP model.
python tools/train.py
When the code was executed, a can't pick generator objects error and a Ran out of input error occurred.
Please give me some advice.

@Riser6
Copy link
Collaborator

Riser6 commented Aug 31, 2021

Hello, I'm trying to learn YOLOP model.
python tools/train.py
When the code was executed, a can't pick generator objects error and a Ran out of input error occurred.
Please give me some advice.

Sorry for this bug. This is probably a problem of Pytorch version. In our experiment, the version is 1.7.1, and there's no problem. if not, maybe you could describe this bug in more detail.

@Taeng-ioio
Copy link
Author

Hello, I'm trying to learn YOLOP model.
python tools/train.py
When the code was executed, a can't pick generator objects error and a Ran out of input error occurred.
Please give me some advice.

Sorry for this bug. This is probably a problem of Pytorch version. In our experiment, the version is 1.7.1, and there's no problem. if not, maybe you could describe this bug in more detail.

I installed pytorch version 1.7.0 as mentioned in github README.md
I solved this problem but not proper way.

set _C.WORKERS = 0 and solved pick generator bug
after this, cuda out of memory error occured and I've set _C.TRAIN.BATHC_SIZE_PER_GPU = 3 and solved
I'm training now and waiting for the result.
My GPU is GTX 1650 super

thanks

@Riser6
Copy link
Collaborator

Riser6 commented Aug 31, 2021

Hello, I'm trying to learn YOLOP model.
python tools/train.py
When the code was executed, a can't pick generator objects error and a Ran out of input error occurred.
Please give me some advice.

Sorry for this bug. This is probably a problem of Pytorch version. In our experiment, the version is 1.7.1, and there's no problem. if not, maybe you could describe this bug in more detail.

I installed pytorch version 1.7.0 as mentioned in github README.md
I solved this problem but not proper way.

set _C.WORKERS = 0 and solved pick generator bug
after this, cuda out of memory error occured and I've set _C.TRAIN.BATHC_SIZE_PER_GPU = 3 and solved
I'm training now and waiting for the result.
My GPU is GTX 1650 super

thanks

Thanks for your attention to our project! Best wishes!

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

2 participants