GithubHelp home page GithubHelp logo

Comments (4)

nickhward avatar nickhward commented on August 16, 2024

I figured out that I just wasn't writing the path correctly. I just copied the absolute path from properties. Also in case anyone is having issues with finding the Cornell data-set because the link on GitHub repo no longer works you can find it here: https://www.kaggle.com/oneoneliu/cornell-grasp

from robotic-grasping.

silver60229 avatar silver60229 commented on August 16, 2024

當我運行命令時: python -m utils.dataset_processing.generate_cornell_depth /Cornel_Grasping_dataset/archive

這是我得到的:

(venv) nicholasward2@nicholasward2-Alienware-Aurora-R7:~/robotic-grasping$ python -m utils.dataset_processing.generate_cornell_depth /Cornel_Grasping_dataset/archive
Matplotlib 正在構建字體緩存;這可能需要一點時間。

然後就立即停止運行。有沒有人對如何解決問題有任何建議?

Can I ask you for the complete usage method? For example, enter python -m utils.dataset_processing.generate_cornell_depth "path" in the robotic-grasping-master folder in "cmd"? Thank you

from robotic-grasping.

nickhward avatar nickhward commented on August 16, 2024

@silver60229
So I extracted the Cornell data set into a folder called Cornell_Grasping_dataset that is located in the main robotic-grasping folder.

Then the whole command in terminal looked as such:
cd robotic-grasping

Then:
python -m utils.dataset_processing.generate_cornell_depth /home/nicholasward2/robotic-grasping/Cornell_Grasping_dataset/archive

I just made sure that I used an absolute path to my data set and it worked.

Hopefully this answers your question.

from robotic-grasping.

zhenjing avatar zhenjing commented on August 16, 2024

copy ./utils/dataset_processing/generate_cornell_depth.py ./

modify generate_cornell_depth.py:
pcds = glob.glob(os.path.join(args.path, '', 'pcd[0-9].txt')) => pcds = glob.glob(os.path.join(args.path, 'pcd*[0-9].txt'))

other way: recursive search all subdir
pcds = glob.glob(os.path.join(args.path, '**', 'pcd*[0-9].txt'), recursive=True)

from robotic-grasping.

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.