Trying out AnimeGAN (september 23rd, 2023)

 AnimeGAN

September 23rd

animeGAN_inference



I spent a lot of time trying to locally install animeGAN on my computer. What kept me from using animeGAN on my computer, is that I got an error related to CUDA not being compatible with the version of python I had. I’ve run into CUDA issues before and I still don’t quite understand the point of CUDA and why different programs require different CUDA versions and also why GPU’s require additional CUDA installations.


The error message was suggesting that I install an older python version. I decided not to proceed because I was afraid it would mess up my local installation of a different AI tool that I use on a weekly basis. I tried to figure out how to make a virtual environment for animeGAN but I still got the same error. I looked into setting up a virtual environment because the other AI image based tool I use, uses a “venv”. Since I got the same CUDA error when trying to set up a virtual environment, I decided it’s probably best I hold off on that; animeGAN isn’t a tool I plan to use again.


I ended up using Google Colab for animeGAN. The notebook is pretty straightforward and I was able to generate some images quickly. I tried to input a video into the colab notebook but ran into some errors. I tried various things such as using a shorter video clip, directing the code in colab to a folder of a PNG sequence instead of an MP4, but I got a moviepy error related to FFMPEG. I used chatGPT to help me troubleshoot but even after I tried to install moviepy and ffmpeg, it didn’t work. 


I tried to install moviepy and ffmpeg:







MoviePy error: FFMPEG encountered the following error while writing file /content/result.mp4


Below are the results from animeGAN_inference.




I was curious to try inputting an unrealistic picture that is closer to a drawing to see what I would get: 


Comments

Popular posts from this blog

(October 29th, 2023)Development of a Customized Lora: A Deep Dive into Personalized AI-Generated Imagery

Digital Marketing with AI - 30 Page Marketing Plan