Giter VIP home page Giter VIP logo

opensimad's People

Contributors

antoinefalisse avatar maartenafschrift avatar suhlrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

opensimad's Issues

Error: cannot unpack non-iterable NoneType object

Hi,

I am trying the code to generate some external functions in Linux for the models being used in this project: https://github.com/antoinefalisse/predictsim_mtp

It seems some models can work but others cannot.
For example, when it comes to model: new_model_noMTP_scaled_FK.osim from predictsim_mtp\OpenSimModel\new_model\Model
The code cannot generate the external functions with the following error:

terminate called after throwing an instance of 'std::runtime_error' what(): Needs to be symbolic make[2]: *** [CMakeFiles/new_model_noMTP_scaled_FK.dir/build.make:103: new_model_noMTP_scaled_FK] Aborted make[2]: *** Deleting file 'new_model_noMTP_scaled_FK' make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/new_model_noMTP_scaled_FK.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 Traceback (most recent call last): File "main.py", line 55, in <module> generateExternalFunction(pathOpenSimModel, pathExample, pathID, File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 560, in generateExternalFunction buildExternalFunction(outputFilename, outputDir, 3*nCoordinates, File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 745, in buildExternalFunction generateF(nInputs) File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 658, in generateF y,_,_ = foo.foo(arg) TypeError: cannot unpack non-iterable NoneType object

I hope you could solve this issue.

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.