Problem when training: Somehow training_orig_images become colored
See original GitHub issueFirstly, thank you for your tremendous work on colorization. It gives me a lot of new ideas.
Here is my problem, I have used your training code for my own training process. I have noticed that it generate scaled images like 128*128 or 256*256 before training process and it takes a lot of time. But when I train on my own dataset, the BlackAndWhiteTransform() transformation is not working. The input image is become colorful. So the whole training is become meaningless.
And I did add BlackAndWhiteTransform() to all my progressive GANs.
x_tfms = [BlackAndWhiteTransform()]
scheds.extend(GANTrainSchedule.generate_schedules(szs=[64, 64],
bss=[64, 64],
path=IMAGENET,
x_tfms=x_tfms,
extra_aug_tfms=extra_aug_tfms,
keep_pcts=[1.0,1.0],
save_base_name=proj_id,
c_lrs=c_lrs,
g_lrs=g_lrs,
lrs_unfreeze_factor=lrs_unfreeze_factor,
gen_freeze_tos=gen_freeze_tos))
I don’t know what the problem is, please help me. Thank you very much.

Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
itten's twelve hue subtractive color wheel
In theory, equal mixtures of subtractive primaries should result in black, however, when mixing red, blue, and yellow primaries together, the resulting mixture ......
Read more >These Algorithms Look at X-Rays—and Somehow Detect ...
Medical data used to train algorithms often bears traces of racial inequalities in disease and medical treatment, due to historical and ...
Read more >Change the Color of Visited Links
Summary: People get lost and move in circles when websites use the same link color for visited and new destinations. To reduce navigational...
Read more >What Is Critical Race Theory, and Why Is It Under Attack?
As with CRT criticisms, the fear was that students would be somehow harmed by exposure to these ideas. As the school-aged population became...
Read more >Using Colors to Enhance The Training Experience
Whether it be PowerPoint slide backgrounds, markers for flipcharts, or bright colored handouts, different colors can elicit different responses in people.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The x_tfms are dynamic, so it shouldn’t have anything to do with the tmp folder. If you can replicate it as a legit issue I’ll certainly try to hunt it down.
@ChakriMuthyala It turns out that very soon there will be an update to DeOldify that should help you out quite a bit. The short of it is that you will be able to take the network having been pertained on Imagenet for colorization (which has over a million images), and then fine tune it with the anime images. I haven’t tried this specifically yet but I’m almost certain it should work great. The fine tuning would first consist of pertaining with non-gan training generator only, then pertaining the critic to do binary classification on generated vs real images. Finally you do the (no)GAN training to top it off, which will be described in detail in the readme.