zhuhao-nju / hmd

Detailed Human Shape Estimation from a Single Image by Hierarchical Mesh Deformation (CVPR2019 Oral)
MIT License
267 stars 44 forks source link

import src.config error #19

Open yyunhh opened 3 years ago

yyunhh commented 3 years ago

Hello, thanks for ur work!

I plan to run the datasets/proc_all_data.py to get all the dataset. But I encounter the issue:

ubuntu@server~/Desktop/hmd/datasets$ python proc_all_data.py
Traceback (most recent call last):
  File "proc_all_data.py", line 6, in <module>
    from LSP import proc_lsp
  File "/home/ubuntu/Desktop/hmd/datasets/LSP.py", line 14, in <module>
    from hmr_predictor import hmr_predictor
  File "/home/ubuntu/Desktop/hmd/datasets/../src/hmr_predictor.py", line 26, in <module>
    import src.config
ModuleNotFoundError: No module named 'src.config'

Is there any missing file(config) in src folder? (I have already used pip install src)

Thanks in advance : )

wangsen1312 commented 3 years ago

@yyunhh The src.config here is the path for HMR src/config.py In the second line of conf.ini, you should change it to your own path. Hope it can help you

yyunhh commented 3 years ago

@wangsen1312 OMG, thank you a lot for your help!

May I ask another question about the LSP and LSPET dataset? It seems that their website is closed right now?

If I run the datasets/proc_all_data.py can I get these two datasets?

Datapro

LSP. Acquire the data from http://sam.johnson.io/research/lsp.html by clicking "Download (ZIP file)". Extract the data and set the extracting path to lsp_path.

LSPet. Acquire the data from http://sam.johnson.io/research/lspet.html by clicking "Dataset (ZIP file)". Extract the data and set the extracting path to lspet_path.
wangsen1312 commented 3 years ago

@yyunhh We need download the dataset first. The datasets/proc_all_data.py only do the preprocess part without download.

I found some codebase such as https://dbcollection.readthedocs.io/en/latest/datasets/leeds_sports_pose.html can still offer dataset download.

Hope it can help.

yyunhh commented 3 years ago

@wangsen1312 Hello, recently the website is open again : )

Thanks a lot for ur reply!

alsehaimaa commented 3 years ago

Hello, thanks for ur work!

I plan to run the datasets/proc_all_data.py to get all the dataset. But I encounter the issue:

ubuntu@server~/Desktop/hmd/datasets$ python proc_all_data.py
Traceback (most recent call last):
  File "proc_all_data.py", line 6, in <module>
    from LSP import proc_lsp
  File "/home/ubuntu/Desktop/hmd/datasets/LSP.py", line 14, in <module>
    from hmr_predictor import hmr_predictor
  File "/home/ubuntu/Desktop/hmd/datasets/../src/hmr_predictor.py", line 26, in <module>
    import src.config
ModuleNotFoundError: No module named 'src.config'

Is there any missing file(config) in src folder? (I have already used pip install src)

Thanks in advance : )

I didn't find any config.py in scr any help please

wangsen1312 commented 3 years ago

@alsehaimaa The src.config here is the path for HMR src/config.py