出错代码处是:
code_text
def log2_graph(x):
"""Implementatin of Log2. TF doesn't have a native implemenation."""
return tf.log(x) / tf.log(2.0) #报错在这一行
在运行ROIAlign Layer时出现 AttributeError: 'module' object has no attribute 'log' 是因为什么 如何解决?
出错代码处是:
code_text
def log2_graph(x):
"""Implementatin of Log2. TF doesn't have a native implemenation."""
return tf.log(x) / tf.log(2.0) #报错在这一行
@Wws-zonda
matter-port 那个? I am not really known this well.
But this is not related about ROIAlign, it's your tensorflow version issue, maybe your tesnorflow version is not compatible.
什么代码什么项目什么环境?