kizoooh
kizoooh
Hi, did you fix this problem? I met the same problem as you. Can you help me? Thank you so much!
> @kizoooh , did you solve this issue? I have a same problem. Hi, I did not save the issue. And I used export.py to torchscript.pt and pnnx justlike @chenzj-king...
> you can use yolov7 export.py export xx.torchscript.pt. And then use [pnnx ](https://github.com/pnnx/pnnx)to exchange ncnn xx.bin and xx.param Thank you so much for your reply. I tried your method but...
> @kizoooh Hi, did you solve the that? same problem here 😠Not yet😠Waiting for a reply
> Did you set input shapes at argument? I used the command like > > ``` > ./pnnx best.torchscript.pt inputshape=[1,3,640,640] inputshape=[1,3,320,320] > ``` > > and then, > > ```...
> > Did you set input shapes at argument? I used the command like > > ``` > > ./pnnx best.torchscript.pt inputshape=[1,3,640,640] inputshape=[1,3,320,320] > > ``` > > > >...
> > > > Did you set input shapes at argument? I used the command like > > > > ``` > > > > ./pnnx best.torchscript.pt inputshape=[1,3,640,640] inputshape=[1,3,320,320] >...
try to change ldm/modules/encoders/modules.py, change 141 and 142 line to: self.tokenizer = CLIPTokenizer.from_pretrained(version, local_files_only=True) self.transformer = CLIPTextModel.from_pretrained(version, local_files_only=True) And change 29, 30, 31lines in txt2img.py to: safety_model_id = "CompVis/stable-diffusion-safety-checker" safety_feature_extractor...