-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request a simple demo script #3
Comments
Hi, Not a shot in the dark at all. I thought of providing this functionality as I do in bonnetal with an So, I quickly realized that to make an I could provide a script, for example, for So, long story short, putting the data in the kitti format is the easiest way for now. |
Thanks for the reply! Closing the issue. |
@peiyunh Were you able to run get the predictions for your own dataset? And did you get those predictions after training with KITTI data? @tano297 I noticed that in |
@ivannson. It is completely possible. 2 ways to do this:
Changing split: # sequence numbers
train:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 9
- 10
valid:
- 8
test:
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21 for split: # sequence numbers
train:
- 11
valid:
- 12
test:
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
def infer(self):
# do train set
# self.infer_subset(loader=self.parser.get_train_set(),
# to_orig_fn=self.parser.to_original)
# do valid set
# self.infer_subset(loader=self.parser.get_valid_set(),
# to_orig_fn=self.parser.to_original)
# do test set
self.infer_subset(loader=self.parser.get_test_set(),
to_orig_fn=self.parser.to_original)
print('Finished Infering')
return Both are hacks. Feel free to modify the infer function to take something like "do_train, do_valid, do_test" as parameters and submit a PR, I'm happy to change this |
Great, will do that. Thanks a lot for such a quick reply! |
@ivannson Yes, I was able to get the predictions on my own dataset. I basically took the code from infer_subset and replaced the existing data loader with an iterator over my own dataset. |
@peiyunh is it possible ot share the inference pipeline on the custom dataset so that i can try it with my own data ?? thansk in advance |
@peiyunh hi, i also do this work, but i don't know how to use infer.py to get predictions with my own dataset. Where should to be modified? i only test my own dataset, what are the train, valid and test dataset? |
Hi,
Thanks for sharing your amazing work.
This is a shot in the dark, but I am wondering if you consider releasing a simple demo script that takes a LiDAR sweep as input and output predicted semantic labels. I am asking because I want to run the pretrained models on a different dataset. The easiest way seems to be porting my dataset into the same format as SemanticKITTI. Is that the case?
Thanks,
Peiyun
The text was updated successfully, but these errors were encountered: