PRBonn / bonnet

Bonnet: An Open-Source Training and Deployment Framework for Semantic Segmentation in Robotics.
GNU General Public License v3.0
323 stars 89 forks source link

Invalid yaml file persons_512/nodes.yaml #18

Closed julianrobot closed 6 years ago

julianrobot commented 6 years ago

I have encountered the same problem: log: Successfully created log directory: log Unable to create network. Invalid yaml file persons_512/nodes.yaml

I have tried "./cnn_freeze.py -p /home/chen/log" to freeze the log folder,however another problem occured: Traceback (most recent call last): File "./cnn_freeze.py", line 32, in import tensorflow as tf ImportError: No module named 'tensorflow'

but I do not fully understand your answer, and do not know how to solve it. Can you answer in more details? Thank you very much!

tano297 commented 6 years ago

In the second case, the problem is self explanatory, you need to install tensorflow

$ sudo pip3 install tensorflow tensorflow-gpu

Have you tried doing it using the docker container? Its main purpose is to give you all of the dependencies solved. You can freeze it with docker and then use it in your host OS, which apparently has everything for the C++ library because it builds

julianrobot commented 6 years ago

I successfully installed tensorflow I still don't know how to freeze the model,I will try to use the docker container

tano297 commented 6 years ago

Hi, what do you mean by how? Which command? Or are you still getting errors? If you are getting errors, you can post them here, but with the docker container, the instructions, and the pretrained model, you should be fine