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

Some questions about train new dataset #21

Open
BloodLemonS opened this issue Nov 11, 2023 · 1 comment
Open

Some questions about train new dataset #21

BloodLemonS opened this issue Nov 11, 2023 · 1 comment

Comments

@BloodLemonS
Copy link

Hi,
I would like to inquire about the rgb images I read while training my dataset. The rgb images saved during the training process all have a gray layer, but the output was normal during testing.
Also, I would like to ask about the crop_size in the code. What is the specific function of size? Can it be removed.
In the process of data processing, after adjusting the image size, the problem of the tensor size will occur during training.

@youmi-zym
Copy link
Owner

Hi,

Sorry, I didn't meet this issue before, I suggest you print the shape of all tensors before saving them to the folder.

I would like to inquire about the rgb images I read while training my dataset. The rgb images saved during the training process all have a gray layer, but the output was normal during testing.

For the crop_size, you can modify it by passing a specific number to --crop_size. For more details, let's take the nyu dataset as an example, you can check it in this file.

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

2 participants