- This Project tries to do deep colorization to transfer from the grayscale image into RGB scale image.
-
Recommend to use Anaconda 64-bit to build the environment for applying CUDA to run GPU and used the Jupyter notebook from Anaconda to build Pytorch programs.
-
Recommend to use Anaconda with the Jupyter notebook to run our programs with the same environmental setting.
-
Below are folders containing each file are expressed (Folder-> Each file).
- The main programs are the RegressorColorizing.ipynb and ColorizingSigmoidChangeFM.ipynb for the project.
- face_images: a dataset of 750 images.
- ColorizingRelu.ipynb: Input L*, and output matrix a* and b* with ReLU last layer. Then, colorizing the images.
- ColorizingSigmoid.ipynb: Input L*, and output matrix a* and b* with Sigmoid last layer. Then, colorizing the images.
- ColorizingSigmoidChangeFM.ipynb: Input L*, output matrix a* and b* with Sigmoid last layer, and change each layers' feature maps. Then, colorizing the images.
- ColorizingTanh.ipynb: Input L*, output matrix a* and b* with Tanh last layer. Then, colorizing the images.
- RegressorColorizing.ipynb: Input L* and predicted mean scalar a* and b* by regressor. Output matrix a* and b* with Sigmoid last layer. (3 input factors L*, scalar a*, and b*; 2 output factors matrix a* and b*)
- Regressor.ipynb: Input L*, prediction mean scalar a* and b*.
- ImplementTrainedModel4Colorizing.ipynb: Implement trained parameters to color images without training again. Only for ColorizingSigmoid, ColorizingSigmoidChangeFM, and ColorizingRelu trained model. Please select a correct net model for corresponded trained parameters.
- ImplementTrainedModel4CombRegClo.ipynb: Implement trained parameters to color images without training again. Only for RegressorColorizing trained model.
- These archives are trained models and can be applied by ImplementTrainedModel4Colorizing.ipynb and ImplementTrainedModel4CombRegClo.ipynb to redrawing images.
- ColorizingReludWithLR0.1EP1000.pth: Trained model of ColorizingRelu.ipynb program.
- ColorizingSigmoidWithLR0.1EP1000.pth: Trained model of ColorizingSigmoid.ipynb program.
- ColorizingSigmoidChangeFMTrainTestLogEP1000.pth: Trained model of ColorizingSigmoidChangeFM.ipynb program.
- ColorizingTanhdWithLR0.1EP1000.pth: Trained model of ColorizingTanh.ipynb program.
- ColorizingCombWithLR0.1EP1000: Trained model of RegressorColorizing.ipynb program for colorizing model.
- RegCombWithLR0.1EP1000.pth: Trained model of RegressorColorizing.ipynb program for regression model.
- RegWithLR0.1EP1000.pth: Trained model of Regressor.ipynb program.
- Test results are the same images.
- ColorizingRelu--.png: Training and testing image results of ColorizingRelu.ipynb.
- ColorizingSigmoid--.png: Training and testing image results of ColorizingSigmoid.ipynb.
- ColorizingSigmoidChangeFM--.png: Training and testing image results of ColorizingSigmoidChangeFM.ipynb.
- ColorizingTanh--.png: Training and testing image results of ColorizingTanh.ipynb.
- ColorizingComb--.png: Training and testing image results of RegressorColorizing.ipynb for colorizing model.
- First to last the second line are training records, and the last line is testing records.
- ColorizingReluTrainTestLog1000.txt: The training and testing log of ColorizingRelu.ipynb.
- ColorizingSigmoidTrainTestLog1000.txt: The training and testing log of ColorizingSigmoid.ipynb.
- ColorizingSigmoidChangeFMTrainTestLogEP1000.txt: The training and testing log of ColorizingSigmoidChangeFM.ipynb.
- ColorizingTanhTrainTestLogEP1000.txt: The training and testing log of ColorizingTanh.ipynb.
- ColorizingCombTrainTestLogEP1000.txt: The training and testing log of RegressorColorizing.ipynb program for colorizing model.
- RegCombTrainTestLogEP1000.txt: The training and testing log of RegressorColorizing.ipynb program for the regression model.
- RegTrainTestLog1000.txt: The training and testing log of Regressor.ipynb program.