训练caffe模型时出错

时间:2017-08-04 09:13:00

标签: python caffe

我正在尝试用我自己的数据训练一个模型,虽然它在几次迭代后开始训练它会抛出一个错误。这就是它的样子

#img-esadvalence {
  background-image: url(https://placeimg.com/640/480/animals);
  background-color: #e12a1c;
  background-blend-mode: screen;
  transition: background-color 1s;
}


#img-esadvalence:hover {
  background-color: transparent;
}

.all-img-menu {
    background-size: contain;
    background-position: center; 
    width: 110%;
    padding-bottom: 40.75vh;
    display: block;
    top: 50%;
    -ms-transform: translate(0%,-50%);
    -webkit-transform: translate(0%,-50%); 
    transform: translate(0%,-50%);
    position: absolute;
    transition: all 0.6s ease;
}

我认为问题可能出在输入图片上,有关我应该更改或编辑的建议吗?

1 个答案:

答案 0 :(得分:0)

批量中可能有多个图像,但它们的大小各不相同?您需要标准化图像大小。在将图像输入Caffe之前,您可以use OpenCV执行此操作。

相关问题