Advertisement

LLNet模型的实现进行模型训练

阅读量:
复制代码
 # Ref: LLNet: Deep Autoencoders for Low-light Image Enhancement

    
 # 
    
 # CVPR 2014
    
 # 
    
 # Author: HSW
    
 # Date: 2018-05-11
    
  
    
 import tensorflow as tf
    
 import numpy as np 
    
  
    
 class LLNet_Model(object):
    
  
    
     def __init__(self, beta_pretrain, lambda_pretrain, lambda_finetune, transfer_function=tf.nn.sigmoid, LLnet_Shape=(289, 847, 578, 289), sparseCoef = 0.05):
    
     ''' LLNet Model Inputs is 17 x 17 image Patch: 289 pixels '''
    
     self.LLnet_Shape     = LLnet_Shape
    
     # Inputs + Outputs
    
     self.inputs = t

全部评论 (0)

还没有任何评论哟~