VToonify
VToonify copied to clipboard
Can't allocate memory error
I am trying to run the code on CPU device and i am facing this 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?
@williamyang1991
I haven't encountered this error before. I have no idea of it.
I have 16 GB of ram on server, so is this because of that. Sometime i am facing some time not @williamyang1991
You can set --batch_size
to 1 to lower the memory requirement.
If this error disappears, then it should be the memory issue.
I haven't encountered this error before. I have no idea of it.
Okay no problem, thanks for replying on this issue.
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?
I think 16 GB is enough for --batch_size 1
@williamyang1991 Batch size is for video toon , it's not for images.
--padding 128 128 128 128
sure i'll try , thanks