Pointnet_Pointnet2_pytorch icon indicating copy to clipboard operation
Pointnet_Pointnet2_pytorch copied to clipboard

About using my dataset to train semantic segmentation error in training

Open mmiku1 opened this issue 2 years ago • 11 comments

I would appreciate it if you could give me some advice and help. My dataset is made in the form of s3dis. @yanx27
image

mmiku1 avatar Jun 18 '22 04:06 mmiku1

hi,I want to know how to make my own dataset

JayLuoShui avatar Jun 23 '22 14:06 JayLuoShui

hello, i have the same error? but my error is "nan". have you solved this problem?

jiayaozi avatar Oct 14 '22 11:10 jiayaozi

@mmiku1 make sure you change those parameters regarding classes number with both files. line 24, 92 in train_semseg.py line 24, 30 in /data_utils/S3DISDataLoader.py

sean880304 avatar Nov 25 '22 09:11 sean880304

@mmiku1 make sure you change those parameters regarding classes number with both files. line 24, 92 in train_semseg.py line 24, 30 in /data_utils/S3DISDataLoader.py

Hello, If my data class is three. So, I need to change line 24, in the S3DISDataLoader.py, that is labelweights = np.zeros(13), I need to change the 13 to 3, right? And line 30 in theS3DISDataLoader.py, that is tmp, _ = np.histogram(labels, range(14)), where should I change?

Thank you very much.

XiaXinjie avatar Dec 07 '22 17:12 XiaXinjie

@mmiku1 make sure you change those parameters regarding classes number with both files. line 24, 92 in train_semseg.py line 24, 30 in /data_utils/S3DISDataLoader.py

Hello, If my data class is three. So, I need to change line 24, in the S3DISDataLoader.py, that is labelweights = np.zeros(13), I need to change the 13 to 3, right? And line 30 in theS3DISDataLoader.py, that is tmp, _ = np.histogram(labels, range(14)), where should I change?

Thank you very much.

I might need to look over the codes tomorrow, perhaps we can discuss this with each other thru WeChat?

sean880304 avatar Dec 07 '22 17:12 sean880304

@mmiku1 make sure you change those parameters regarding classes number with both files. line 24, 92 in train_semseg.py line 24, 30 in /data_utils/S3DISDataLoader.py

Hello, If my data class is three. So, I need to change line 24, in the S3DISDataLoader.py, that is labelweights = np.zeros(13), I need to change the 13 to 3, right? And line 30 in theS3DISDataLoader.py, that is tmp, _ = np.histogram(labels, range(14)), where should I change? Thank you very much.

I might need to look over the codes tomorrow, perhaps we can discuss this with each other thru WeChat?

QQ ok? My QQ number is 992128819 Thanks.

XiaXinjie avatar Dec 07 '22 19:12 XiaXinjie

@mmiku1 make sure you change those parameters regarding classes number with both files. line 24, 92 in train_semseg.py line 24, 30 in /data_utils/S3DISDataLoader.py

Hello, If my data class is three. So, I need to change line 24, in the S3DISDataLoader.py, that is labelweights = np.zeros(13), I need to change the 13 to 3, right? And line 30 in theS3DISDataLoader.py, that is tmp, _ = np.histogram(labels, range(14)), where should I change?

Thank you very much.

Hi, already send friend request. Yes, S3DISDataLoader.py line 24 change it to class number 3, and line 30 i think it's class number +1, so it becomes 4 in your case. Also im not 100% sure those are correct modifications since I haven't gotten a successful training result. May I ask how you process your dataset?

sean880304 avatar Dec 08 '22 08:12 sean880304

@mmiku1 Hi, did you manage to train it successfully?

sean880304 avatar Feb 01 '23 09:02 sean880304

@sean880304 First, I would like to thank you for your time and support. I'm trying to train my own dataset. Can you tell me First how can i process my dataset for training. I already completed labeling the dataset. Now the dataset in .PCD format.

foysalahmed10 avatar May 06 '23 09:05 foysalahmed10

hello, i have the same error? but my error is "nan". have you solved this problem?

hi, I have the same training result, have you solved it?

gxyzka avatar Nov 15 '23 10:11 gxyzka