Git Product home page Git Product logo

Comments (4)

mfe7 avatar mfe7 commented on August 23, 2024 1

i haven't tried it but nothing jumps out of why it wouldn't work

from cadrl_ros.

mfe7 avatar mfe7 commented on August 23, 2024 1

I just made a small commit changing some print statements so that the node starts up with python3+noetic

from cadrl_ros.

lukeprotag avatar lukeprotag commented on August 23, 2024

Thanks, but I think there may be still some errors or not...
In Ubuntu20.04, the default python is pytho3.8 and the tensorflow I can install only is tensorflow2.x. So there are not placeholder. Even I use "import tensorflow.compat.v1 as tf" there still some errors such as "has no attribute 'contrib' " and :
"TypeError: Dimension value must be integer or None or have an index method, got TensorShape([Dimension(None), Dimension(256)])"
I don't know where I make mistake with your code.

from cadrl_ros.

mfe7 avatar mfe7 commented on August 23, 2024

Oh I see. I'm running Python 3.6.9 here rather than the default 3.8 that comes with ubuntu. And I haven't sent commands to the robot that would cause the NN to be queried. I'm not sure I'll have time to get it working with tensorflow2.x -- so one possible path forward would be to run this node in a virtualenv with an older python version that supports tf1 (I have enjoyed using pyenv to manage python versions). I'll post any updates here if I get a chance to update the compatibility.

from cadrl_ros.

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.