Giter Club home page Giter Club logo

Comments (3)

lorraine-sun avatar lorraine-sun commented on July 30, 2024 3

I had similar problems as @nikjetchev. I found it might be caused by python version. My python version is also 3.7 and i didn't change it to 3.9 as the author. I found a solution from
https://stackoverflow.com/questions/63460126/typeerror-type-object-is-not-subscriptable-in-a-function-signature
and make changes on:
./temos/transforms/joints2jfeats/rifke.py line 122
./temos/model/textencoder/distilbert.py line 46
by removing "[xxx]" after tuple. It works for me.

from temos.

Mathux avatar Mathux commented on July 30, 2024

Hi @nikjetchev,

The problem came from the fact that you did not download and install the data properly. As in this script, we don't really need the data, I updated the code to remove the dependency.

Please git pull and then try again with the same command line and the problem should be solved.

from temos.

nikjetchev avatar nikjetchev commented on July 30, 2024

Hi, thanks for the answer. Your fix solved some problems, but now I get a different error message when loading the TEMOS model in code:

python interact.py folder=pretrained_models/kit-mmm-xyz/3l49g7hv/ saving=kick text="A person kicks with the right foot." length=60
[11/08/22 17:03:19] INFO     Interaction script. The result will be interact.py:52
                             saved there: kick                                    
                    INFO     The sentence is: A person kicks with   interact.py:53
                             the right foot.                                      
[11/08/22 17:03:24] INFO     Created a temporary directory at   instantiator.py:21
                             /tmp/tmpsef_mlmd                                     
                    INFO     Writing                            instantiator.py:76
                             /tmp/tmpsef_mlmd/_remote_module_no                   
                             n_scriptable.py                                      
                    INFO     Global seed set to 1234                    seed.py:54
                    INFO     Loading model                          interact.py:71
Error executing job with overrides: ['folder=pretrained_models/kit-mmm-xyz/3l49g7hv/', 'saving=kick', 'text=A person kicks with the right foot.', 'length=60']
Error locating target 'temos.model.temos.TEMOS', see chained exception above.
full_key: model

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

What could be wrong now, maybe a simple import or sys.path.append is missing? Hope that you can help me fix it, will be much appreciated

from temos.

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.