OneFlow-Benchmark icon indicating copy to clipboard operation
OneFlow-Benchmark copied to clipboard

AttributeError: module 'oneflow' has no attribute 'keras'

Open gentelyang opened this issue 5 years ago • 1 comments

File "/OneFlow-Benchmark/Classification/cnns/inception_model.py", line 74, in conv2d_layer AttributeError: module 'oneflow' has no attribute 'keras' inceptionv3训练报oneflow没有 keras,帮忙看下,感谢。

gentelyang avatar Nov 27 '20 07:11 gentelyang

@gentelyang 你应该是没用最新的 benchmark 仓库,最新的代码已经去掉 keras 相关的 https://github.com/Oneflow-Inc/OneFlow-Benchmark/blob/master/Classification/cnns/inception_model.py

Ldpe2G avatar Nov 27 '20 07:11 Ldpe2G