Code Monkey home page Code Monkey logo

Comments (6)

dougsm avatar dougsm commented on August 18, 2024

Hi,
So it looks like there's two different issues. The first is the missing hdf5 file (which I think you've resolved by creating your own and changing the path, is that correct?).
The second one looks like it's potentially an issue with your tensorflow/keras install, which I'm not so sure about, but seems to come up in a quick google, e.g. tensorflow/tensorflow#8652

from ggcnn.

weiwuhuhu avatar weiwuhuhu commented on August 18, 2024

I didn't train with the train.py
Firstly, I run the download_pretrained_ggcnn.sh to generate the dataset_190502_2135.hdf5 in dataset file,

Secondly ,i run the evluate.py, then occur the error:
IOError: Unable to open file (unable to open file: name = '/home/douglas/dev/ae_grasp_prediction/data/datasets/dataset_rotated_width_zoom_171219_1516.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
So i modify the path and i dont't find the dataset_rotated_width_zoom_171219_1516.hdf5, so i replace it with the dataset_190502_2135.hdf5 in the _dataset.txt.

Finally, i run the evaluate.py, the error occur is that:
Traceback (most recent call last):
File "evaluate.py", line 196, in
run()
File "evaluate.py", line 173, in run
succeeded, failed = calculate_iou_matches(grasp_positions_out, grasp_angles_out, bbs_all, no_grasps=NO_GRASPS, grasp_width_out=grasp_width_out)
File "evaluate.py", line 102, in calculate_iou_matches
gt_bbs = BoundingBoxes.load_from_array(ground_truth_bbs[i, ].squeeze())
IndexError: index 0 is out of bounds for axis 0 with size 0

This is my step, i didn't run the train.py, can i run the evaluate.py directly? i can't get the result...
And my environment is :
tensorflow1.10
keras:2.0.6
Thank you very much!

from ggcnn.

weiwuhuhu avatar weiwuhuhu commented on August 18, 2024

Hi, I try run the train_ggcnn.py,the error is :
ValueError: Input 0 is incompatible with layer conv2d_1: expected ndim=4, found ndim=2
Could you please tell me some details about it?I am looing forward to your reply.

from ggcnn.

weiwuhuhu avatar weiwuhuhu commented on August 18, 2024

Hi,
So it looks like there's two different issues. The first is the missing hdf5 file (which I think you've resolved by creating your own and changing the path, is that correct?).
The second one looks like it's potentially an issue with your tensorflow/keras install, which I'm not so sure about, but seems to come up in a quick google, e.g. tensorflow/tensorflow#8652

Thank you very much for your help.And I solve this problem recently. You are right, and the path of my cornell dataset is wrong.And I run the evaluate.py , then i get the reult such as :
190503_1859__ggcnn_9_5_3__32_16_8 5 1051.0/1760.0 59.72%
How can i input the image to get the result of your paper (bounding box)

from ggcnn.

TangBoheng avatar TangBoheng commented on August 18, 2024

I download the data from http://s.dougsm.com/ggcnn_rss/ just like' download_pretrained_ggcnn.sh' do.After I unzip it I can't find 'dataset_rotated_width_zoom_171219_1516.hdf5' or 'dataset_190502_1033.hdf5'. Is there something I done wrong?

from ggcnn.

dougsm avatar dougsm commented on August 18, 2024

Hello!
If you're still having trouble, have a look at the new version that I just pushed. It will require a little bit of set-up (it uses PyTorch rather than Tensorflow), but should be a lot more user friendly. There might still be some issues to work out, so let me know if there is problems.

from ggcnn.

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.