Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesh and train problem #7

Open
mcqrobot opened this issue Jan 2, 2016 · 2 comments
Open

mesh and train problem #7

mcqrobot opened this issue Jan 2, 2016 · 2 comments

Comments

@mcqrobot
Copy link

mcqrobot commented Jan 2, 2016

Hi:
thanks for your reply for my last problem :https://github.com/wg-perception/reconstruction/issues/
and I modified the files arrcoding to your advice and then I continue to test.
As I just a ROS freshman and just want to use your this great project. So when I finished modifying the files above, I test according the quick guide: http://wg-perception.github.io/object_recognition_core/quickguide.html#quickguide
What I want to train and detect is the milk cartons. The capture and upload steps are successful. However, when I go on this mesh command: rosrun object_recognition_reconstruction mesh_object --all --visualize --commit. Still it throw some errors:

*****ERROR1:**********

 Traceback (most recent call last):
 File "/home/mcq/ws/src/ork_reconstruction/apps/mesh_object", line 190, in <module>
 simple_mesh_session(dbs, session, args)
 File "/home/mcq/ws/src/ork_reconstruction/apps/mesh_object", line 86, in simple_mesh_session
 raise RuntimeError("There are no observations available.")
 RuntimeError: There are no observations available.

I have to ignore this step and go on. The next step is trainning:rosrun object_recognition_core training -c rospack find object_recognition_tod/conf/training.ork --visualize,the output is just like:
Training 8 objects.
computing object_id: 508fefeabfa7a9aa1cc43b6c61008d82
Deleting the previous model da138258498efa9588050a10d500520f
.....
After this, I keep going go to next step:detect. and I have launched the rviz and tpyed this command:
rosrun object_recognition_core detection -c rospack find object_recognition_tod/conf detection.ros.ork --visualize
expectedly, rviz which subsrible the "marker" topic can't see anything but worsely the teminal throw the many error such as:
********ERROR2:***********

[WallTime: 1451702238.674595] Exception in your execute callback:            exception_type   CellException
[cell_name] = source1
[cell_type] = ecto::py::BlackBox
[function_name] = process_with_only_these_inputs
[type] = std::runtime_error
.....

 Can you tell me how to solve these two problems .I really want to use your this work. Thx

@saspelund
Copy link

I am also having this first issue. I know that I am in the "correct" directory as the .bag files are located there. Would it be simple enough to see where exactly the program is searching for the files?

I tried tinkering around with the --db_collection option to no success.

@saspelund
Copy link

I was able to deal with this issue by making note of the session_ID displayed at the end of the upload sequence (I had to copy it manually from the output because I can't find it anywhere else) and then mesh each item one at a time using that session_ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants