lucent
lucent copied to clipboard
handle single channel images in tensor_to_img
If a custom model is being used where the optimized parameter image only has one channel, then the tensor_to_img_array function in render.py crashes.
By handling that possibility, the error is fixed.