Deep3DFaceRecon_pytorch
Deep3DFaceRecon_pytorch copied to clipboard
Could not locate a supported Microsoft Visual C++ installation
Hi all, I have already installed Microsoft Visual C++ 2015-2022 Redistributable(x64) 14.34.31931, but it keeps telling me that could not locate a supported Microsoft Visual C++ installation, what should I do?
(deep3d_pytorch) C:\Users\kenmax\Deep3DFaceRecon_pytorch>python test.py --name=test_model --epoch=20 --img_folder=./datasets/examples C:\Users\kenmax\anaconda3\envs\deep3d_pytorch\lib\site-packages\kornia\augmentation\augmentation.py:1875: DeprecationWarning: GaussianBlur is no longer maintained and will be removed from the future versions. Please use RandomGaussianBlur instead. category=DeprecationWarning, C:\Users\kenmax\anaconda3\envs\deep3d_pytorch\lib\site-packages\torch\utils\cpp_extension.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp ----------------- Options --------------- add_image: True bfm_folder: BFM bfm_model: BFM_model_front.mat camera_d: 10.0 center: 112.0 checkpoints_dir: ./checkpoints dataset_mode: None ddp_port: 12355 display_per_batch: True epoch: 20 [default: latest] eval_batch_nums: inf focal: 1015.0 gpu_ids: 0 img_folder: ./datasets/examples [default: examples] init_path: checkpoints/init_model/resnet50-0676ba61.pth isTrain: False [default: None] model: facerecon name: test_model [default: face_recon] net_recon: resnet50 phase: test suffix: use_ddp: False [default: True] use_last_fc: False use_opengl: True verbose: False vis_batch_nums: 1 world_size: 1 z_far: 15.0 z_near: 5.0 ----------------- End ------------------- C:\Users\kenmax\anaconda3\envs\deep3d_pytorch\lib\site-packages\torch\cuda_init_.py:125: UserWarning: NVIDIA GeForce RTX 4090 with CUDA capability sm_89 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37. If you want to use the NVIDIA GeForce RTX 4090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
model [FaceReconModel] was created
loading the model from ./checkpoints\test_model\epoch_20.pth
0 ./datasets/examples\000002.jpg
Traceback (most recent call last):
File "test.py", line 73, in