Code Monkey home page Code Monkey logo

Comments (2)

OliverSTH avatar OliverSTH commented on August 25, 2024

Possibly related package versions:

Name Version Build Channel pyvista 0.31.3 pypi_0 pypi ffmpeg 4.3 hf484d3e_0 pytorch ffmpeg-python 0.2.0 pypi_0 pypi

Demo : Run the following command to test GLAMR on a single-person video with dynamic camera:

python global_recon/run_demo.py --cfg glamr_dynamic \
                                --video_path assets/dynamic/running.mp4 \
                                --out_dir out/glamr_dynamic/running \
                                --save_video

(No saved videos found in grecon_videos folder)

The error is reported as follows:

WARNING: You are using a SMPL model, with only 10 shape coefficients.
WARNING: You are using a SMPL model, with only 10 shape coefficients.
loading motion infiller from check point results/motion_filler/motion_infiller_demo/version_0/checkpoints/model-best-epoch=0307.ckpt
WARNING: You are using a SMPL model, with only 10 shape coefficients.
loading trajectory predictor from check point results/traj_pred/traj_pred_demo/version_0/checkpoints/model-best-epoch=1556.ckpt
WARNING: You are using a SMPL model, with only 10 shape coefficients.
running global reconstruction on assets/dynamic/running.mp4, seed: 1
saving world animation for running
Attention: Your OS may not support anti-aliasing, but you can try to turn in on in lib.utils.visualizer3d.__init__() to improve rendering quality.
WARNING: You are using a SMPL model, with only 10 shape coefficients.
set camera focal: (-4.517944788578408, 6.86177925853311, 1.7624801719056904)
set camera pos: (14.833610290728572, 5.180686698766247, 4.024632221541268)
Unrecognized option 'crf'.
Error splitting the argument list: Option not found
Traceback (most recent call last):
  File "/home/dvlab/GLAMR/global_recon/run_demo.py", line 112, in <module>
    visualizer.save_animation_as_video(video_world, window_size=render_specs.get('wsize', (int(1.5 * img_h), img_h)), cleanup=True, crf=5)
  File "/home/dvlab/GLAMR/lib/utils/visualizer3d.py", line 260, in save_animation_as_video
    images_to_video(frame_dir, video_path, fps=fps, crf=crf, verbose=self.verbose)
  File "/home/dvlab/GLAMR/lib/utils/vis.py", line 48, in images_to_video
    raise Exception('Something went wrong during images_to_video!')
Exception: Something went wrong during images_to_video!

I have two questions here. The first one is: In which folder should "pretrained_w_cam.pth" be placed? GLAMR or GLAMR/HybrIK or GLAMR/HybrIK/pretrained_models

I currently put it in GLAMR/HybrIK, I don’t know if it is correct.

The second one is: How should I solve the problem of being unable to delete videos? I have tried removing run_demo.py line 112 crf=5, but this problem still cannot be solved.

Thank you for your reply.

from glamr.

OliverSTH avatar OliverSTH commented on August 25, 2024

This problem has been solved. It may be a video resolution problem. Try other videos to solve the problem.

from glamr.

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.