File tree 2 files changed +5
-9
lines changed
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
## Super Resolution Examples
2
2
3
- We run this script under TensorFlow 1.1 and the self-contained TensorLayer. If you got error, you may need to update TensorLayer.
3
+ We run this script under TensorFlow 1.2 and the self-contained TensorLayer. If you got error, you may need to update TensorLayer.
4
4
5
5
6
6
### SRGAN Architecture
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/python
2
2
# -*- coding: utf8 -*-
3
3
4
- # import dial_nn
5
4
import tensorflow as tf
6
5
import tensorlayer as tl
7
6
from tensorlayer .layers import *
8
-
9
-
10
- from tensorflow .python .ops .rnn_cell_impl import _RNNCell as RNNCell
11
- from tensorflow .python .ops import variable_scope as vs
12
- from tensorflow .python .ops import math_ops , init_ops , array_ops , nn
13
- from tensorflow .python .util import nest
14
- from tensorflow .contrib .rnn .python .ops import core_rnn_cell
7
+ # from tensorflow.python.ops import variable_scope as vs
8
+ # from tensorflow.python.ops import math_ops, init_ops, array_ops, nn
9
+ # from tensorflow.python.util import nest
10
+ # from tensorflow.contrib.rnn.python.ops import core_rnn_cell
15
11
16
12
# https://github.com/david-gpu/srez/blob/master/srez_model.py
17
13
You can’t perform that action at this time.
0 commit comments