Giter Club home page Giter Club logo

Comments (10)

abhigoku10 avatar abhigoku10 commented on June 7, 2024 2

@YoushaaMurhij yes your correct, there was issue in the color encoding , thanks for point it out currently have resolved this issue now getting correct output

from cylinder3d.

YoushaaMurhij avatar YoushaaMurhij commented on June 7, 2024

Are you using RVIZ? Can you also show the GT?

from cylinder3d.

abhigoku10 avatar abhigoku10 commented on June 7, 2024

@YoushaaMurhij @xinge008 i am using pptk viewer to look into the annotations and predictions of semantic kitti data , below is the gt and right is predictions
image

from cylinder3d.

YoushaaMurhij avatar YoushaaMurhij commented on June 7, 2024

It feels like you have a color encoding problem .. no more, when converting the labels to colors.
Could u check that?

from cylinder3d.

muzi2045 avatar muzi2045 commented on June 7, 2024

how to get the visual results from raw network output?
the Cylinder3D network get [1, 480, 360, 32] input, and output is [1, 20, 480, 360, 32] torch tensor

res = model(train_pt_fea_ten, train_vox_ten, batch_size)
 
predicted_labels =  torch.argmax(res, dim=1) 

@abhigoku10 @YoushaaMurhij

from cylinder3d.

abhigoku10 avatar abhigoku10 commented on June 7, 2024

@muzi2045 i am actually saving the labels and then using semantic kitti code base to view the predicitions please find the reference which worked for me https://github.com/edwardzhou130/PolarSeg/blob/master/test_pretrain_SemanticKITTI.py

from cylinder3d.

muzi2045 avatar muzi2045 commented on June 7, 2024

thanks a lot, I'll try it.

from cylinder3d.

muzi2045 avatar muzi2045 commented on June 7, 2024

with the semantic-kitti api codebase, here is some result output:
image
image

why the road points are colored as black?
maybe the color map need to be change or something wrong when generate the points label file.
@abhigoku10

from cylinder3d.

abhigoku10 avatar abhigoku10 commented on June 7, 2024

@muzi2045 you have to use proper color map during saving and visualization

from cylinder3d.

zhaodejian avatar zhaodejian commented on June 7, 2024

@muzi2045 i am actually saving the labels and then using semantic kitti code base to view the predicitions please find the reference which worked for me https://github.com/edwardzhou130/PolarSeg/blob/master/test_pretrain_SemanticKITTI.py

when i use the same code as you, i got the error "ValueError: Input must be 1- or 2-d."---do you know what the problems ?

(pytorch) ziudarkin@ziudarkin-ubuntu:~/PolarSeg$ python train_SemanticKITTI.py
train_SemanticKITTI.py
Namespace(check_iter=4000, data_dir='data', grid_size=[480, 360, 32], model='polar', model_save_path='./SemKITTI_PolarSeg.pt', train_batch_size=2, val_batch_size=2)
  0%|                                                   | 0/136 [00:00<?, ?it/s]Traceback (most recent call last):
  File "train_SemanticKITTI.py", line 197, in <module>
    main(args)
  File "train_SemanticKITTI.py", line 129, in main
    iou = per_class_iu(sum(hist_list))
  File "train_SemanticKITTI.py", line 27, in per_class_iu
    return np.diag(hist) / (hist.sum(1) + hist.sum(0) - np.diag(hist))
  File "<__array_function__ internals>", line 6, in diag
  File "/home/ziudarkin/anaconda3/envs/pytorch/lib/python3.7/site-packages/numpy/lib/twodim_base.py", line 303, in diag
    raise ValueError("Input must be 1- or 2-d.")
ValueError: Input must be 1- or 2-d.
  0%|                                                   | 0/136 [00:01<?, ?it/s]

from cylinder3d.

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.