animegan2-pytorch
animegan2-pytorch copied to clipboard
Any low mem cmd option available
Hi,
I am trying to run the program on a ubnutu 20.4 machine with GTX1650Ti GPU, but face lack of memory issue. Does this module have any low mem option i.e like reduce channel option with less memory requirement. Or any other work around possible?
python3 test.py --input_dir inputimg --output_dir outputimg --device cuda
model loaded: ./weights/paprika.pt
Traceback (most recent call last):
File "test.py", line 92, in
Try --device cpu
when trying with cpu option getting output like this
python3 test.py --input_dir inputimg --output_dir outputimg --device cpu model loaded: ./weights/paprika.pt Killed
Seems like you don't have enough RAM as well. Here are some possible options you can try:
- Use colab
- Try TensorRT conversion with FP16
- Downsize the image
how to use TensorRT in animegan2-pytorch?