HexPlane代码复现(十几分钟就复现成功的一篇论文代码!!!!!)

https://caoang327.github.io/HexPlane/

一、 python setup.py develop命令用不了了

在这里插入图片描述

running develop
/home/uriky/anaconda3/envs/hexplane/lib/python3.8/site-packages/setuptools/command/easy_install.py:144:
EasyInstallDeprecationWarning: easy_install command is deprecated. Use
build and pip and other standards-based tools. warnings.warn(
/home/uriky/anaconda3/envs/hexplane/lib/python3.8/site-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use
build and pip and other standards-based tools. warnings.warn(
running egg_info creating hexplane.egg-info writing
hexplane.egg-info/PKG-INFO writing dependency_links to
hexplane.egg-info/dependency_links.txt writing top-level names to
hexplane.egg-info/top_level.txt writing manifest file
‘hexplane.egg-info/SOURCES.txt’ reading manifest file
‘hexplane.egg-info/SOURCES.txt’ adding license file ‘LICENSE’ writing
manifest file ‘hexplane.egg-info/SOURCES.txt’ running build_ext
Creating
/home/uriky/anaconda3/envs/hexplane/lib/python3.8/site-packages/hexplane.egg-link
(link to .) Adding hexplane 1.0 to easy-install.pth file

Installed /home/uriky/桌面/code/HexPlane-main Processing dependencies
for hexplane1.0 Finished processing dependencies for hexplane1.0

在这里插入图片描述

pip install -e .

二、模块不存在,反正少什么模块安装就行了

python main.py config=dnerf_slim.yaml
Traceback (most recent call
last): File “main.py”, line 8, in
from torch.utils.tensorboard import SummaryWriter File “/home/uriky/anaconda3/envs/hexplane/lib/python3.8/site-packages/torch/utils/tensorboard/init.py”,
line 1, in
import tensorboard ModuleNotFoundError: No module named ‘tensorboard’

pip install tensorboard

ModuleNotFoundError: No module named ‘six’

pip install six

三、出错在FileNotFoundError: [Errno 2] No such file or directory:> '/home/uriky/桌面/code/HexPlane-main/dnerf_slim.yaml’而dnerf_slim.yaml是在config文件下,所以文件目录有问题

python main.py config=dnerf_slim.yaml

修改成这样---------》

python main.py config=config/dnerf_slim.yaml

python main.py config=dnerf_slim.yaml Traceback (most recent call
last): File “main.py”, line 180, in
yaml_cfg = OmegaConf.load(yaml_path) File “/home/uriky/anaconda3/envs/hexplane/lib/python3.8/site-packages/omegaconf/omegaconf.py”,
line 189, in load
with io.open(os.path.abspath(file_), “r”, encoding=“utf-8”) as f: FileNotFoundError: [Errno 2] No such file or directory:
‘/home/uriky/桌面/code/HexPlane-main/dnerf_slim.yaml’
在这里插入图片描述
在这里插入图片描述

开始训练

三、插件未安装FFMPEG` plugin is not installed

在这里插入图片描述

报错ImportError: The FFMPEG plugin is not installed. Use pip install imageio[ffmpeg] to install it.

pip install imageio[ffmpeg]

安装插件

在这里插入图片描述

继续 python main.py config=config/dnerf_slim.yaml

在这里插入图片描述
在这里插入图片描述在这里插入图片描述

在这里插入图片描述

复现成功!!!!!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值