![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GAN图像分割问题小记
Kacakun
日拱一卒,功不唐捐
展开
-
快速查询包版本
打开 Anaconda Prompt ![在这里插入图片描述](https://img-blog.csdnimg.cn/c3baec7fc7954297831ae7eb14f4e629.png) activate tensorflow pip show xxxxx原创 2022-03-23 21:52:28 · 817 阅读 · 0 评论 -
tensorflow cycleGAN ‘Invalid keyword argument “mode“
出现问题:‘Invalid keyword argument “mode”,’ ‘perhaps you mean “pilmode”?’问题代码:def imread(path, is_grayscale = False):if (is_grayscale):return _imread(path, flatten=True).astype(np.float)else:return _imread(path, mode=‘RGB’).astype(np.float)出现问题的原因:ima原创 2022-03-22 09:42:28 · 2249 阅读 · 0 评论 -
TypeError: __init__() got an unexpected keyword argument ‘serialized_options‘
出现问题:TypeError: init() got an unexpected keyword argument ‘serialized_options’1:win+r cmd 查询环境中的python版本2:下载对应的protobuf版本例如:python3.6.13 对应 protobuf3.6.1activate tensorflowpip install protobuf ==3.6.1...原创 2022-03-22 07:48:28 · 1819 阅读 · 0 评论