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 fileInstalled /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