kylevedder / zeroflow Goto Github PK
View Code? Open in Web Editor NEWOfficial repository for ZeroFlow: Scalable Scene Flow via Distillation
Home Page: http://vedder.io/zeroflow
License: MIT License
Official repository for ZeroFlow: Scalable Scene Flow via Distillation
Home Page: http://vedder.io/zeroflow
License: MIT License
Thank you for your work.
Following the README and GETTING_STARTED document, I created the train and val supervision labels, and my dataset folder structure follows this:
|-argoverse2
|-train
|-train_sceneflow
|-test
|-val
|-val_sceneflow
I mounted the folder to the container correctly as shown below:
root@Max-laptop-debian:/efs# ls
argoverse2
root@Max-laptop-debian:/efs# cd argoverse2/
root@Max-laptop-debian:/efs/argoverse2# ls
test train train_sceneflow val val_sceneflow
However, when I try to train the model using
python train_pl.py ./configs/fastflow3d/argo/nsfp_distilatation_speed_scaled_updated.py
I always got the num_samples=0 error below
Traceback (most recent call last):
File "/project/train_pl.py", line 189, in <module>
main()
File "/project/train_pl.py", line 146, in main
train_dataloader = make_train_dataloader(cfg)
File "/project/train_pl.py", line 68, in make_train_dataloader
return torch.utils.data.DataLoader(train_dataset,
File "/miniconda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 353, in __init__
sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type]
File "/miniconda/lib/python3.10/site-packages/torch/utils/data/sampler.py", line 107, in __init__
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0
The paths inside nsfp_distilatation_speed_scaled_updated.py
are:
train_sequence_dir = "/efs/argoverse2/train/"
train_flow_dir = "/efs/argoverse2/train_sceneflow/"
test_sequence_dir = "/efs/argoverse2/val/"
test_flow_dir = "/efs/argoverse2/val_sceneflow/"
I believe the problem is that the train path in the config file is incorrect. However, I am unable to find additional information in the document to solve my question. Would you mind pointing out what's wrong with it?
in the getting start ,I need the link https://github.com/nchodosh/argoverse2-sf to compute ground truth flows ,but it's 404.how can i generate the flows?
Thanks for your work and open source,
When I read the code following, I'm wondering why set a assert here for z index must be 0? since Voxelization is 3D, z should not be 0?
zeroflow/models/heads/fast_flow_decoder.py
Lines 15 to 32 in 58a93f7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.