yyang181 / colormnet

43 stars 3 forks source link

TypeError: 'module' object is not callable #9

Open Fadexboss opened 1 month ago

Fadexboss commented 1 month ago

Ekran görüntüsü 2024-09-14 034859

I think I'm nearing the end and I'm currently experiencing this problem. Can you help me?

After running the project, I plan to share the steps that all Windows users should do in a detailed and understandable way.

thanks.

dan64 commented 1 month ago

Which version of python are you using ?

Fadexboss commented 1 month ago

Which version of python are you using ?

I created the conda environment in version 3.10. cuda 12.1 torch 2.4.0.

a little question: After putting the black and white video frames in the input folder and the reference image in the reference folder, I think the colorization process should be done by running the test.py file. Am I understanding correctly?

dan64 commented 1 month ago

Yes, as stated in the documentation you have to type: set CUDA_VISIBLE_DEVICES=0 python test.py

Dan

P.S. I'm working in incorporating colormnet in the HAVC project: https://github.com/dan64/vs-deoldify if you have a little patience, it will be available soon in Hybrid: https://www.selur.de/downloads This is GUI running in Windows for several useful Vapoursynth filters (including coloring dilters).

Fadexboss commented 1 month ago

Evet, dokümantasyonda belirtildiği gibi şunu yazmalısınız: set CUDA_VISIBLE_DEVICES=0 python test.py

Dan

PS: HAVC projesine colormnet'i dahil etmeye çalışıyorum: https://github.com/dan64/vs-deoldify eğer biraz sabrederseniz, yakında Hybrid olarak da mevcut olacak: https://www.selur.de/downloads Bu, Windows'ta çalışan ve birkaç faydalı Vapoursynth filtresi (renklendirme seyrelticileri dahil) için bir GUI'dir.

UPstud commented 1 month ago

Replace the old file test.py with the modified one https://github.com/yyang181/colormnet/blob/main/test.py Try python test.py --gpu_ids 0 --benchmark 😊

dan64 commented 1 month ago
* I saw your project a long time ago and it caught my attention, but it seemed a bit complicated to install on Windows. If you could provide step by step information for a simpler installation, it would be very helpful for those interested in this job.

The instructions to follow to install Hybrid are provided in this post: https://github.com/dan64/vs-deoldify/issues/4 There is a specific thread in Hybrid forum that you can use to post comments or questions: https://forum.selur.net/thread-3595.html

Dan