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
I try to install your project many times with each versions of python (3.7, 3.8, 3.9) on (conda env, python venv and python) with pip install -r requirements.txt but it s still shown an error like this :
(Please help me, What do i have to do to solve this problems ? thank u.. )
C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py:134: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use import imageio.v2 as imageio or call imageio.v2.imread directly.
source_image = imageio.imread(opt.source_image)
C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:2895.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Traceback (most recent call last):
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py", line 147, in
generator, kp_detector = load_checkpoints(config_path=opt.config, checkpoint_path=opt.checkpoint, cpu=opt.cpu)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py", line 33, in load_checkpoints
generator.cuda()
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 689, in cuda
return self._apply(lambda t: t.cuda(device))
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 602, in _apply
param_applied = fn(param)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 689, in
return self.apply(lambda t: t.cuda(device))
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\cuda_init.py", line 211, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered:
I try to install your project many times with each versions of python (3.7, 3.8, 3.9) on (conda env, python venv and python) with pip install -r requirements.txt but it s still shown an error like this :
(Please help me, What do i have to do to solve this problems ? thank u.. )
C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py:134: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use
import imageio.v2 as imageio
or callimageio.v2.imread
directly.source_image = imageio.imread(opt.source_image)
C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:2895.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Traceback (most recent call last):
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py", line 147, in
generator, kp_detector = load_checkpoints(config_path=opt.config, checkpoint_path=opt.checkpoint, cpu=opt.cpu)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\first-order-model\demo.py", line 33, in load_checkpoints
generator.cuda()
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 689, in cuda
return self._apply(lambda t: t.cuda(device))
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 579, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 602, in _apply
param_applied = fn(param)
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\nn\modules\module.py", line 689, in
return self.apply(lambda t: t.cuda(device))
File "C:\Users\Idra1010\AppData\Local\Programs\Python\Python39\venv2\lib\site-packages\torch\cuda_init.py", line 211, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: