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

Dataset preprocessing problems. #55

Open
alexaex opened this issue Jan 16, 2025 · 0 comments
Open

Dataset preprocessing problems. #55

alexaex opened this issue Jan 16, 2025 · 0 comments

Comments

@alexaex
Copy link

alexaex commented Jan 16, 2025

Hi, I am working on my thesis in image colorization. I noticed your implementation of dataset processing, where you use OpenCV to read images and skimage for LAB color space conversion. I have implemented a similar approach but only used the L-channel as the input to the network. However, I found that skimage uses uint8 for the L-channel, but the network implicitly converts the L-channel to float. The output of the ab-channels is also in float, so I normalized both the L and ab channels. However, the prediction results in a black image, which might be caused by the uint-to-float conversion.

I noticed that you used the L-channel and padded it with two zero ab channels, then converted it back into RGB as the input to the network. I would like to know if you have any suggestions if we just want to use the L-channel as the input.
@piddnad

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

1 participant