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

Custom datasets #27

Open
mouxinyue1 opened this issue May 20, 2022 · 9 comments
Open

Custom datasets #27

mouxinyue1 opened this issue May 20, 2022 · 9 comments

Comments

@mouxinyue1
Copy link

Hello, I am using a custom data set, because my data set has a transparency, so it does not match, I would like to ask how to solve this problem?
image

@gudovskiy
Copy link
Owner

@mouxinyue1 sorry, cannot help with this description

@sangbin-kim
Copy link

@gudovskiy Hello, related question, I would like to train my custom dataset. It would be very helpful if you could explain the dataset structure for both train and test sets.

@gudovskiy
Copy link
Owner

@sangbin-kim please refer to this description and our dataloader code

@sangbin-kim
Copy link

@gudovskiy Thank you sir. is there any way to train without ground truth dataset for this model??

@gudovskiy
Copy link
Owner

@sangbin-kim you don't need ground truth for train data, only for test data to check performance

@EudicL
Copy link

EudicL commented Jul 1, 2022

Hello, I am using a custom data set, because my data set has a transparency, so it does not match, I would like to ask how to solve this problem? image

I also encountered this problem, how did you solve it?

@gudovskiy
Copy link
Owner

@EudicL what's the file and line number where this happens?

@EudicL
Copy link

EudicL commented Jul 2, 2022

Thanks, I have solved the problem. Because the images in my datasets are gray, I modify the [loader.py]
'''
x = Image.open(x).convert('RGB')
'''

@EudicL what's the file and line number where this happens?

@gudovskiy
Copy link
Owner

@EudicL great, may be I should add the check for such case

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

4 participants