2020-12-22 23:28:46.449404: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2020-12-22 23:28:46.449872: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "C:/Users/wangyifan0122/stylegan-master/pretrained_example001.py", line 15, in <module>
import dnnlib.tflib as tflib
File "C:\Users\wangyifan0122\stylegan-master\dnnlib\tflib\__init__.py", line 8, in <module>
from . import autosummary
File "C:\Users\wangyifan0122\stylegan-master\dnnlib\tflib\autosummary.py", line 31, in <module>
from . import tfutil
File "C:\Users\wangyifan0122\stylegan-master\dnnlib\tflib\tfutil.py", line 34, in <module>
def shape_to_list(shape: Iterable[tf.Dimension]) -> List[Union[int, None]]:
AttributeError: module 'tensorflow' has no attribute 'Dimension'
'tensorflow' has no attribute 'Dimension'
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- Chan_pikxxx 2020-12-25 17:31关注
是不是tensorflow和keras的版本不对应啊,还是说你用的tensorflow的版本没有“Dimension”
解决评论 打赏 举报无用 1
悬赏问题
- ¥15 用stata实现聚类的代码
- ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
- ¥170 如图所示配置eNSP
- ¥20 docker里部署springboot项目,访问不到扬声器
- ¥15 netty整合springboot之后自动重连失效
- ¥15 悬赏!微信开发者工具报错,求帮改
- ¥20 wireshark抓不到vlan
- ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
- ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
- ¥15 stata安慰剂检验作图但是真实值不出现在图上