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

运行python app.py出现问题 #343

Open
qiqi0308 opened this issue Dec 28, 2024 · 0 comments
Open

运行python app.py出现问题 #343

qiqi0308 opened this issue Dec 28, 2024 · 0 comments

Comments

@qiqi0308
Copy link

报错如下
(E:\main_project\LiveTalking\env) E:\main_project\LiveTalking>python app.py
E:\main_project\LiveTalking\ernerf\nerf_triplane\utils.py:171: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast(enabled=False)
E:\main_project\LiveTalking\ernerf\nerf_triplane\utils.py:199: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast(enabled=False)
E:\main_project\LiveTalking\ernerf\nerf_triplane\utils.py:230: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast(enabled=False)
E:\main_project\LiveTalking\ernerf\nerf_triplane\utils.py:239: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast(enabled=False)
E:\main_project\LiveTalking\ernerf\nerf_triplane\utils.py:248: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast(enabled=False)
E:\main_project\LiveTalking\env\lib\site-packages\torch\utils\cpp_extension.py:1964: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
Traceback (most recent call last):
File "E:\main_project\LiveTalking\ernerf\raymarching\raymarching.py", line 10, in
import _raymarching_face as _backend
ModuleNotFoundError: No module named '_raymarching_face'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\main_project\LiveTalking\app.py", line 457, in
from nerfreal import NeRFReal,load_model,load_avatar
File "E:\main_project\LiveTalking\nerfreal.py", line 38, in
from ernerf.nerf_triplane.network import NeRFNetwork
File "E:\main_project\LiveTalking\ernerf\nerf_triplane\network.py", line 6, in
from .renderer import NeRFRenderer
File "E:\main_project\LiveTalking\ernerf\nerf_triplane\renderer.py", line 10, in
from .. import raymarching
File "E:\main_project\LiveTalking\ernerf\raymarching_init_.py", line 1, in
from .raymarching import *
File "E:\main_project\LiveTalking\ernerf\raymarching\raymarching.py", line 12, in
from .backend import _backend
File "E:\main_project\LiveTalking\ernerf\raymarching\backend.py", line 31, in
_backend = load(name='_raymarching_face',
File "E:\main_project\LiveTalking\env\lib\site-packages\torch\utils\cpp_extension.py", line 1314, in load
return _jit_compile(
File "E:\main_project\LiveTalking\env\lib\site-packages\torch\utils\cpp_extension.py", line 1721, in _jit_compile
_write_ninja_file_and_build_library(
File "E:\main_project\LiveTalking\env\lib\site-packages\torch\utils\cpp_extension.py", line 1833, in _write_ninja_file_and_build_library
_run_ninja_build(
File "E:\main_project\LiveTalking\env\lib\site-packages\torch\utils\cpp_extension.py", line 2081, in _run_ninja_build
vc_env = distutils._msvccompiler._get_vc_env(plat_spec)
AttributeError: module 'distutils' has no attribute '_msvccompiler'. Did you mean: 'ccompiler'?

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