Skip to content
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

About using my dataset to train semantic segmentation error in training #183

Open
mmiku1 opened this issue Jun 18, 2022 · 11 comments
Open

Comments

@mmiku1
Copy link

mmiku1 commented Jun 18, 2022

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

@JayLuoShui
Copy link

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

@jiayaozi
Copy link

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

@sean880304
Copy link

sean880304 commented Nov 25, 2022

@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

@XiaXinjie
Copy link

@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.

@sean880304
Copy link

@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?

@XiaXinjie
Copy link

@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.

@sean880304
Copy link

@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
Copy link

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

@foysalahmed10
Copy link

foysalahmed10 commented May 6, 2023

@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.

@gxyzka
Copy link

gxyzka commented Nov 15, 2023

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?

@Ch180907
Copy link

hi, I have the same traning matter, have you resolved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants