You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using device: None
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
loaded pretrained LPIPS loss from taming/modules/autoencoder/lpips\vgg.pth
VQLPIPSWithDiscriminator running with hinge loss.
Restored from assets/vqgan_imagenet_f16_1024.ckpt
c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torch\functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Tri
ggered internally at ..\aten\src\ATen\native\TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2022-03-08 21:40:04.481 Traceback (most recent call last):
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\streamlit\script_runner.py", line 430, in _run_script
exec(code, module.dict)
File "C:\Temp\vqgan-clip-app-main\app.py", line 641, in
generate_image(
File "C:\Temp\vqgan-clip-app-main\app.py", line 150, in generate_image
_, im = run.iterate()
File "C:/Temp/vqgan-clip-app-main\logic.py", line 323, in iterate
losses = self._ascend_txt()
File "C:/Temp/vqgan-clip-app-main\logic.py", line 278, in _ascend_txt
self.normalize(self.make_cutouts(out))
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torchvision\transforms\transforms.py", line 163, in call
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torchvision\transforms\functional.py", line 201, in normalize
raise TypeError('tensor is not a torch image.')
TypeError: tensor is not a torch image.
The text was updated successfully, but these errors were encountered:
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8503
Network URL: http://192.168.2.43:8503
Using device: None
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
loaded pretrained LPIPS loss from taming/modules/autoencoder/lpips\vgg.pth
VQLPIPSWithDiscriminator running with hinge loss.
Restored from assets/vqgan_imagenet_f16_1024.ckpt
c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torch\functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Tri
ggered internally at ..\aten\src\ATen\native\TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2022-03-08 21:40:04.481 Traceback (most recent call last):
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\streamlit\script_runner.py", line 430, in _run_script
exec(code, module.dict)
File "C:\Temp\vqgan-clip-app-main\app.py", line 641, in
generate_image(
File "C:\Temp\vqgan-clip-app-main\app.py", line 150, in generate_image
_, im = run.iterate()
File "C:/Temp/vqgan-clip-app-main\logic.py", line 323, in iterate
losses = self._ascend_txt()
File "C:/Temp/vqgan-clip-app-main\logic.py", line 278, in _ascend_txt
self.normalize(self.make_cutouts(out))
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torchvision\transforms\transforms.py", line 163, in call
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "c:\temp\vqgan-clip-app-main\venv\lib\site-packages\torchvision\transforms\functional.py", line 201, in normalize
raise TypeError('tensor is not a torch image.')
TypeError: tensor is not a torch image.
The text was updated successfully, but these errors were encountered: