Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install correctly, What do i have to do? #585

Open
Meawjin opened this issue Oct 19, 2023 · 0 comments
Open

Cannot install correctly, What do i have to do? #585

Meawjin opened this issue Oct 19, 2023 · 0 comments

Comments

@Meawjin
Copy link

Meawjin commented Oct 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant