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 allocate memory error #60

Open
Kaunain26 opened this issue Apr 12, 2023 · 10 comments
Open

Can't allocate memory error #60

Kaunain26 opened this issue Apr 12, 2023 · 10 comments

Comments

@Kaunain26
Copy link

I am trying to run the code on CPU device and i am facing this error.

error

I tried with 200 , 200,200,200 and 600,600,600,600 padding but in all scenario sometimes it's working and sometimes it's not working. Its saying can't allocate memory.

But on colab it's working. Is it having any solution?

@Kaunain26
Copy link
Author

@williamyang1991

@williamyang1991
Copy link
Owner

I haven't encountered this error before. I have no idea of it.

@Kaunain26
Copy link
Author

I have 16 GB of ram on server, so is this because of that. Sometime i am facing some time not @williamyang1991

@williamyang1991
Copy link
Owner

You can set --batch_size to 1 to lower the memory requirement.
If this error disappears, then it should be the memory issue.

@Kaunain26
Copy link
Author

I haven't encountered this error before. I have no idea of it.

Okay no problem, thanks for replying on this issue.

@Kaunain26
Copy link
Author

You can set --batch_size to 1 to lower the memory requirement. If this error disappears, then it should be the memory issue.

Should i increase the ram? what do say?

@williamyang1991
Copy link
Owner

I think 16 GB is enough for --batch_size 1

@Kaunain26
Copy link
Author

@williamyang1991 Batch size is for video toon , it's not for images.

@williamyang1991
Copy link
Owner

--padding 128 128 128 128

@Kaunain26
Copy link
Author

sure i'll try , thanks

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