Git Product home page Git Product logo

Comments (5)

Cedric-Perauer avatar Cedric-Perauer commented on August 24, 2024 1

Just in case someone else comes across this and wants to use it without downloading much data while being a bit unfimilar with Scannet, you can follow this :

  1. Download the already preprocessed scenes from here to obtain preprocessed scenes as mentioned in the Pointcept readme.

  2. To get the image data, use the scannet download script and download processed test frames :

python download_scannnet.py -o <output_dir> --test_frames_2d
  1. Make slight changes in code :
  • change this line to fit the format for intrinsics from test_frames_2d :
    intrinsic_path = join(rgb_path, scene_name,'intrinsics_depth.txt')
  • add simple else condition here to enable run on test data :
    if scene_name in train_scenes:
            scene_path = join(data_path, "train", scene_name + ".pth")
        elif scene_name in val_scenes:
            scene_path = join(data_path, "val", scene_name + ".pth")
        else : 
            scene_path = data_path

from segmentanything3d.

yhyang-myron avatar yhyang-myron commented on August 24, 2024

Hi, you just need these four for this project. Also, if you want to have a try first, you can just download specific scenes.

from segmentanything3d.

BKINGING avatar BKINGING commented on August 24, 2024

Thank you for your reply

from segmentanything3d.

BKINGING avatar BKINGING commented on August 24, 2024

Hello, how can I solve this problem?
Traceback (most recent call last):
File "sam3d.py", line 283, in
voxelize, args.th, train_scenes, val_scenes, args.save_2dmask_path)
File "sam3d.py", line 239, in seg_pcd
indices, dis = pointops.knn_query(1, gen_coord, offset, scene_coord, new_offset)
AttributeError: module 'pointops' has no attribute 'knn_query'

from segmentanything3d.

RyanG41 avatar RyanG41 commented on August 24, 2024

Hi, @BKINGING Do we really need only the four? It asked me for the .sens data when I run prepare_2d_data :(
Instead I download the scannet_frames_25k zip file, will it work? Thanks.

from segmentanything3d.

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.