def setupOutput(self):
with tf.variable_scope(self.name):
try:
self.output = tf.image.resize_images(self.input,self.outputShape,method=self.method)#,align_corners=self.alignCorners)
except:
self.output = tf.image.resize_images(self.input,self.outputShape[0],self.outputShape[1],method=self.method)#,align_corners=self.alignCorners)
TensorFlowInterface.py 文件源码
python
阅读 37
收藏 0
点赞 0
评论 0
评论列表
文章目录