Code Monkey home page Code Monkey logo

Comments (3)

drprojects avatar drprojects commented on June 1, 2024

Hi @chqzeng, thanks for you interest in the project !

I have some point cloud in ( x, y, z, intensity) format, can I use one of the existing model s3dis do the training and apply to my custom dataset? which script should I use or modify from?

This will depend on your dataset :

  • S3DIS: indoor scenes of a university acquired with a Matterport tripod, has RGB colorization
  • KITTI-360: outdoor urban scenes acquired with a LiDAR sensor on a vehicle, has RGB colorization
  • DALES: aerial urban scenes acquired with a LiDAR sensor on a plane, has intensity colorization

my dataset is quite special (like cup shapes), do I necessarily need some custom training? , If I need to prepare training dataset, what is the format I need to prepare?

For creating your own dataset, please refer to the Dataset. If you have ( x, y, z, intensity) attributes, you might want to get inspiration from DALES too. I draw your attention to the fact that SPT is primarily designed for dealing with large 3D scenes with multiple objects of complex geometry. If by "cup shapes" you mean your dataset is composed of isolated objects (à la ModelNet), then this project may be a little overkill for your needs... I don't know what your task is but have you tried a simple PointNet or PointNet++ first ?

run command: python src/train.py experiment=s3dis_11g datamodule.fold=5
run command: `python src/eval.py experiment=s3dis datamodule.fold=5 ckpt_path=/path/to/your/checkpoint.ckpt``

Both errors seem connected, there seems to be a problem when reading the raw files. This process is done in parallel, to save time (reading S3DIS file format is quite laborious). From the tracebacks you share, I cannot interpret what is happening. Two suggestions:

  • You may have an incorrect dataset file structure: make sure you downloaded and organized the S3DIS dataset as described here
  • You may encounter multi-processing issues. This can happen on certain machines. See this issue. To check if multi-processing is the problem, you can try manually setting processes=1 in these lines.

Best,
Damien

from superpoint_transformer.

chqzeng avatar chqzeng commented on June 1, 2024

Thank you Damien for the quick and detailed feedback.

I am not very familiar with your current data processing flow here, so yes I will take some time to look into the Dataset preparation info you provide. my data is close to the Dales, not a single cup, but a relative complicated scene with many culvert pipes for road construction with pebbles in background. I would like to try your model most for its "light-weight" with less parameter size.

For the running error, I confirm the data structure is correct, and tried to set the processes=1 still have the issue. I am running in Windows subsystem for Linux (WSL). I am not sure whether that is the reason.
the /etc/shm is 16GB
I attached two new runs on two difference machine, both as WSL, and failed log. if you have some idea about why cause the error, then largely appreciated.
WSL_run_log.txt
WSL_run_log2.txt

thanks ,
Chui

from superpoint_transformer.

drprojects avatar drprojects commented on June 1, 2024

I can't provide much support for Windows-based machines, or docker environment, etc. The code was only tested on linux machines.

Looking at your second log file:

RuntimeError: DataLoader worker (pid 10844) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.

It seems you have CPU RAM memory issues, not just GPU memory issues. Check out this issue for directions.

PS: if you are interested in this project, don't forget to give it a ⭐, it matters to us !

from superpoint_transformer.

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.