Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tensorflow对象检测API变量在检查点中不可用_Tensorflow_Object Detection_Transfer Learning - Fatal编程技术网

Tensorflow对象检测API变量在检查点中不可用

Tensorflow对象检测API变量在检查点中不可用,tensorflow,object-detection,transfer-learning,Tensorflow,Object Detection,Transfer Learning,我试图从中重新训练对象检测模型,但是我得到了一个在检查点中找不到的变量列表(请参阅下面列表中的一些警告) 我正在使用: Tensoflow版本:1.15.2 视窗10 Python 3.6.10 我正在使用的配置文件是带有预先训练模型的zip文件中的配置文件,我唯一更改的是检测到的类的数量和路径 我尝试了多种模型,但每次都遇到同样的问题 转移学习是有效的,但我想我没有使用大量预先训练的权重是什么原因造成的? 警告: W0215 22:04:03.197386 5668 variable

我试图从中重新训练对象检测模型,但是我得到了一个在检查点中找不到的变量列表(请参阅下面列表中的一些警告)

我正在使用:

  • Tensoflow版本:1.15.2
  • 视窗10
  • Python 3.6.10
我正在使用的配置文件是带有预先训练模型的zip文件中的配置文件,我唯一更改的是检测到的类的数量和路径

我尝试了多种模型,但每次都遇到同样的问题

转移学习是有效的,但我想我没有使用大量预先训练的权重是什么原因造成的?

警告:

W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/RMSProp] is not available in checkpoint
W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/RMSProp_1] is not available in checkpoint
W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/RMSProp] is not available in checkpoint
W0215 22:04:03.197386  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/RMSProp_1] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/weights/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/weights/RMSProp] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_0/weights/RMSProp_1] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/RMSProp] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/RMSProp_1] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/RMSProp] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/RMSProp_1] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights/RMSProp] is not available in checkpoint
W0215 22:04:03.198379  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights/RMSProp_1] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/RMSProp] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/RMSProp_1] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/ExponentialMovingAverage] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/RMSProp] is not available in checkpoint
W0215 22:04:03.199381  5668 variables_helper.py:157] Variable [FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/RMSProp_1] is not available in checkpoint

不确定这是否仍然相关,但我也遇到了这个问题,看起来这可能是一个显示错误,正如模型repo的一个贡献者所说的那样

无论基本模型是什么,这个错误都会发生,因为我们使用预训练模型来训练ssd。如果我们随机初始化ssd模型,这不会发生。而且,训练时它会比随机初始化使用更多的cpu。(大约55%的cpu使用,而不是45%)


不确定这是否仍然相关,但我也遇到了这个问题,看起来这可能是一个显示错误,正如模型repo的一个贡献者所说的那样

无论基本模型是什么,这个错误都会发生,因为我们使用预训练模型来训练ssd。如果我们随机初始化ssd模型,这不会发生。而且,训练时它会比随机初始化使用更多的cpu。(大约55%的cpu使用,而不是45%)