skhu101 / GauHuman

Code for our CVPR'2024 paper "GauHuman: Articulated Gaussian Splatting from Monocular Human Videos"
Other
322 stars 27 forks source link

No module named 'data.dna_rendering' #1

Closed yejr0229 closed 9 months ago

yejr0229 commented 10 months ago

After set the environment,I run this script "bash run_zju_mocap_refine.sh",and encounter: Traceback (most recent call last): File "train.py", line 16, in from gaussian_renderer import render, network_gui File "/home/yejr/Digital_Avater/GauHuman-main/gaussian_renderer/init.py", line 15, in from scene.gaussian_model import GaussianModel File "/home/yejr/Digital_Avater/GauHuman-main/scene/init.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "/home/yejr/Digital_Avater/GauHuman-main/scene/dataset_readers.py", line 33, in from data.dna_rendering.dna_rendering_sample_code.SMCReader import SMCReader ModuleNotFoundError: No module named 'data.dna_rendering' How to deal with it?

skhu101 commented 10 months ago

Hi, thanks for your interest in our work. The missing file has been added.

yejr0229 commented 9 months ago

Thanks for replying,and I have another problem. Now I use my_377 to train,and encounter: File "train.py", line 45, in training scene = Scene(dataset, gaussians) File "/home/yejr/Digital_Avater/GauHuman-main/scene/init.py", line 60, in init assert False, "Could not recognize scene type!" AssertionError: Could not recognize scene type! And I check the dataset thar put in Scene(),it is like: dataset <arguments.GroupParams object at 0x7f5636fe02b0> special variables actor_gender:'neutral' data_device:'cuda' eval:True exp_name:'zju_mocap_refine/debug' images:'images' model_path:'/media/data4/yejr/GauHuman/output/zju_mocap_refine/debug' motion_offset_flag:True resolution:-1 sh_degree:3 smpl_type:'smpl' source_path:'/media/data4/yejr/refined_ZJU_MoCap_instant_nvr/my_377' white_background:False How should I do?

skhu101 commented 9 months ago

Hi, we have an if judgment sentence in line 50 of scene/init.py. You can modify the dataset name to zju_mocap_refine in your data directory or change the judgment sentence.