我们要将现有的Keras SSD7代码转换为克拉斯特遣部队. 我们目前发现了上述错误。我们使用了一个自定义的数据生成器。此外,我们还想知道当从keras转换为克拉斯特遣部队. Github存储库代码取自:https://github.com/pierluigiferrari/ssd_keras
我们在必要的地方改了以下几行。你知道吗
import tensorflow as tf
from tensorflow.python.keras.optimizers import Adam
from tensorflow.python.keras.callbacks import ModelCheckpoint, EarlyStopping, ReduceLROnPlateau, TerminateOnNaN, CSVLogger
from tensorflow.python.keras import backend as K
from tensorflow.python.keras.models import load_model
我们在转换过程中发现了这个错误
ValueError: Output of generator should be a tuple (x, y, sample_weight) or (x, y). Found: [array([[[[121, 135, 161],
[114, 130, 155],
[109, 125, 151],
...,
目前没有回答
相关问题 更多 >
编程相关推荐