当我尝试使用自己的运行
谁能帮我吗?py-faster-rcnn
时,我收到错误AttributeError: 'module' object has no attribute 'set_random_seed'
>数据集。
最佳答案
这是概率,因为您使用的是 Tensorflow 2。因此,您可以简单地使用
import tensorflow as tf
tf.random.set_seed(seed)
关于caffe - 属性错误: 'module' object has no attribute 'set_random_seed' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49217764/