DiffuStereo icon indicating copy to clipboard operation
DiffuStereo copied to clipboard

How to solve ”No module named app.inference“ problem ?

Open 13136983989 opened this issue 2 years ago • 3 comments

python -m app.inference --config configs/real_demo.yaml --dataroot thuman_demo --view_list 0 1 $$: No module named app.inference

13136983989 avatar Oct 26 '22 07:10 13136983989

Same problem, have you solved this?

wszswppx avatar Jan 13 '23 16:01 wszswppx

Same problem, have you solved this?

Sorry,no

13136983989 avatar Jan 15 '23 14:01 13136983989

Same problem, have you solved this?

Sorry,no

Fortunately I've found a solution and it works.

  1. Move the file ~/DiffuStereo/app/infer_mvsd.py into ~/DiffuStereo/
  2. Change the command into
python infer_mvsd.py --config config/thuman_demo.yaml --dataroot [your_data_root] --view_list 0 20

Note that the given command was --config configs/thuman_demo.yaml by mistake.

To run a multi-view result, just change the parameters after --view_list.

wszswppx avatar Jan 16 '23 02:01 wszswppx