Giter Site home page Giter Site logo

Comments (3)

SaeedSaadatnejad avatar SaeedSaadatnejad commented on June 17, 2024

Hi,
Thank you! For repairing, you need to set the observation and prediction length so that the model only reconstructs and then train TCD accordingly. Let me know if you encounter any issues.

from deposit.

satijapratik avatar satijapratik commented on June 17, 2024

Hi Saeed,

I am entering the following command to run the model in reconstruction model only using the trained model weights that you were given to us by you all.

python main_tcd_h36m.py --mode test --data all --joints 22 --input_n 25 --output_n 0 --data_dir data_dir --model_s model_s --model_l model_l --output_dir model_repair --miss_type random

However, I am running into an error where the Renormalized Pose list is empty:

Reading subject 5, action walking, subaction 1
Reading subject 5, action walking, subaction 2
>>> Test dataset length: 256

  0%|                                                                                                                                          | 0/8 [00:00<?, ?it/s]
Renormalized Pose:  [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]

  0%|                                                                                                                                          | 0/8 [00:54<?, ?it/s]
Traceback (most recent call last):
  File "main_tcd_h36m.py", line 561, in <module>
    pose, target, mask, ret = eval(
  File "main_tcd_h36m.py", line 320, in evaluate_32
    renorm_pose = torch.from_numpy(np.array(renorm_pose))
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.

Have you dealt with this issue before?

from deposit.

SaeedSaadatnejad avatar SaeedSaadatnejad commented on June 17, 2024

Hi
The provided model was not trained with --output_n 0
If you want to use a model in test time with --input_n 25 --output_n 0 setting, you need to train one with that setting first.

from deposit.

Related Issues (8)

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.