GALIP
GALIP copied to clipboard
About instantiation of CLIP model
Among the parameters accepted by the NteG generator, there is a CLIP model. I want to know how to import CLIP in the GALIP code to instantiate it. I have not seen the code and I am a little confused. I want to debug the NetG code, but I have no way of knowing. How to enter the CLIP parameter?
Hi, you can instantiate it as the code in the perpare_models function does. https://github.com/tobran/GALIP/blob/6a72f59dc51b1c7fd0e7671b9fac8f095d3243ed/code/lib/perpare.py#L43
I want to debug this way, but I don 't know how to assign the parameter CLIP.
我想知道在这里的CLIP参数,实际上就是CLIP 模型对吗。我不是很明白在GALIP这个代码里,NetG所接受的参数里,如何把CLIP这个模型当做参数接受的,也不是很明白是从哪传入的,不过训练是可以正常训练目前。