Git Product home page Git Product logo

Comments (2)

TheEliteGeek avatar TheEliteGeek commented on July 19, 2024

I got this error as well. I'm reinstalling again (after reinstalling Miniconda) but I remember getting similar errors. My thoughts now is that the ./fetch_data.sh doesn't actually download the required file. I'm going to manually download it to /4D-Humans and then run "tar -xvf hmr2_data.tar.gz" and see what happens. I think it might work based on the output so far:

PS M:\AIStuff\4D-Humans> tar -xvf hmr2_data.tar.gz
x logs/train/multiruns/hmr2/
x logs/train/multiruns/hmr2/0/
x logs/train/multiruns/hmr2/0/model_config.yaml
x logs/train/multiruns/hmr2/0/checkpoints/
x logs/train/multiruns/hmr2/0/checkpoints/epoch=35-step=1000000.ckpt
x logs/train/multiruns/hmr2/0/dataset_config.yaml
x data/
x data/SMPL_to_J19.pkl
x data/smpl_mean_params.npz
x data/smpl/
x data/smpl/SMPL_MALE.pkl
x data/smpl/SMPL_FEMALE.pkl
x data/smpl/SMPL_NEUTRAL.pkl

EDIT: I think manually downloading the file from "https://people.eecs.berkeley.edu/~shubham-goel/projects/4DHumans/hmr2_data.tar.gz" into your /4D-Humans dir is the correct solution. Once downloaded, open terminal or cmd or whatever and run tar -xvf hmr2_data.tar.gz

Finally, you can run python demo.py --img_folder example_data/images --out_folder demo_out --batch_size=48 --side_view and wait a few moments for it to do its thing and then check \4D-Humans\demo_out

Here's my full terminal output (after doing the above and activating the venv) for reference:

(4D-humans) PS M:\AIStuff\4D-Humans> python demo.py --img_folder example_data/images --out_folder demo_out --batch_size=48 --side_view
Lightning automatically upgraded your loaded checkpoint from v1.8.1 to v2.0.2. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint --file M:\AIStuff\4D-Humans\logs\train\multiruns\hmr2\0\checkpoints\epoch=35-step=1000000.ckpt`
WARNING: You are using a SMPL model, with only 10 shape coefficients.
model_final_f05665.pkl: 2.77GB [00:43, 63.5MB/s]
C:\ProgramData\Miniconda3\envs\4D-humans\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\TensorShape.cpp:3484.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
downsampling_factor=11.122115135192871
(4D-humans) PS M:\AIStuff\4D-Humans>

from 4d-humans.

SoftologyPro avatar SoftologyPro commented on July 19, 2024

Yes, the extraction was the problem. I was using command line 7zip.
For Windows you must use the tar command to extract it fully.
tar -xvf hmr2_data.tar.gz
Then the script runs fine.

from 4d-humans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.