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
C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main>python main.py
Get mask of cloth
Get openpose coordinate using posenet
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\posenet.py", line 10, in
net = net.cuda()
^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 915, in cuda
return self._apply(lambda t: t.cuda(device))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 804, in _apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 915, in
return self.apply(lambda t: t.cuda(device))
^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\cuda_init.py", line 284, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Generate semantic segmentation using Graphonomy-Master library
Constructing DeepLabv3+ model...
Number of classes: 20
Output stride: 16
Number of Input Channels: 3
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\Graphonomy-master\exp\inference\inference.py", line 191, in
x = torch.load(opts.loadmodel)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 997, in load
with _open_file_like(f, 'rb') as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 444, in _open_file_like
return open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 425, in init
super().init(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './inference.pth'
[ WARN:0@81.519] global loadsave.cpp:248 cv::findDecoder imread('./resized_segmentation_img.png'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\main.py", line 44, in
mask_img=cv2.resize(mask_img,(768,1024))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4152: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
The text was updated successfully, but these errors were encountered:
getting the following error please help me out
C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main>python main.py
Get mask of cloth
Get openpose coordinate using posenet
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\posenet.py", line 10, in
net = net.cuda()
^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 915, in cuda
return self._apply(lambda t: t.cuda(device))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 779, in _apply
module._apply(fn)
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 804, in _apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\nn\modules\module.py", line 915, in
return self.apply(lambda t: t.cuda(device))
^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\cuda_init.py", line 284, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Generate semantic segmentation using Graphonomy-Master library
Constructing DeepLabv3+ model...
Number of classes: 20
Output stride: 16
Number of Input Channels: 3
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\Graphonomy-master\exp\inference\inference.py", line 191, in
x = torch.load(opts.loadmodel)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 997, in load
with _open_file_like(f, 'rb') as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 444, in _open_file_like
return open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mhash\anaconda3\Lib\site-packages\torch\serialization.py", line 425, in init
super().init(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './inference.pth'
[ WARN:0@81.519] global loadsave.cpp:248 cv::findDecoder imread('./resized_segmentation_img.png'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "C:\Users\mhash\Downloads\TryYours-Virtual-Try-On-main2\TryYours-Virtual-Try-On-main\main.py", line 44, in
mask_img=cv2.resize(mask_img,(768,1024))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4152: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
The text was updated successfully, but these errors were encountered: