资源简介

CVPR18 明星论文Deep Photo Enhancer: Unpaired Learning for Image Enhancement From Photographs with GANs对应的代码

资源截图

代码片段和文件信息

import tensorflow as tf

PARAMETERS_NAME = [“conv_%d_w“ \
                   “conv_%d_b“ \
                   “prelu_%d_%d_alpha“ \
                   “bn_%d_%d_offset“ \
                   “bn_%d_%d_scale“ \
                   “bn_%d_%d_mv_mean“ \
                   “bn_%d_%d_mv_var“ \
                   “in_%d_%d_offset“ \
                   “in_%d_%d_scale“ \
                   “ln_%d_%d_offset“ \
                   “ln_%d_%d_scale“]

#  .#####...######..##......##..##.
#  .##..##..##......##......##..##.
#  .#####...####....##......##..##.
#  .##..##..##......##......##..##.
#  .##..##..######..######...####..
#  ................................
def relu_layer():
    return dict(name=‘relu‘)

def exe_relu_layer(tensor):
    tensor = tf.nn.relu(tensor)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-10 06:02  [Experimental_Code_Data]_Deep-Photo-Enhancer\
     文件       12292  2018-08-10 18:11  [Experimental_Code_Data]_Deep-Photo-Enhancer\.DS_Store
     目录           0  2018-08-10 18:12  __MACOSX\
     目录           0  2018-08-10 18:12  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\
     文件         120  2018-08-10 18:11  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\._.DS_Store
     文件       26411  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\CONVNET.py
     文件       30790  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\DATA.py
     文件        5920  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\EVALUATION.py
     文件       19607  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\FUNCTION.py
     目录           0  2018-08-10 17:26  [Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\
     文件        6148  2018-08-10 09:53  [Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\.DS_Store
     目录           0  2018-08-10 18:12  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\
     文件         120  2018-08-10 09:53  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\._.DS_Store
     文件       17093  2018-08-10 09:44  [Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\hdr_id.txt
     文件         405  2018-08-10 09:44  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\._hdr_id.txt
     文件       36212  2018-08-10 17:26  [Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\README.txt
     文件         171  2018-08-10 17:26  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\HDRs from Flickr\._README.txt
     目录           0  2018-08-10 05:45  [Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\
     文件        2988  2018-08-10 05:44  [Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\test.txt
     目录           0  2018-08-10 18:12  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\
     文件        1161  2018-08-10 05:44  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\._test.txt
     文件       13500  2018-08-10 05:44  [Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\train_input.txt
     文件        1059  2018-08-10 05:44  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\._train_input.txt
     文件       13500  2018-08-10 05:44  [Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\train_label.txt
     文件        1161  2018-08-10 05:44  __MACOSX\[Experimental_Code_Data]_Deep-Photo-Enhancer\MIT-Adobe\._train_label.txt
     文件        5936  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\MODEL.py
     文件       44375  2018-04-24 15:57  [Experimental_Code_Data]_Deep-Photo-Enhancer\TF.py

评论

共有 条评论