You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have one question that why labels are zeros in model.fit training funtion.
model.fit(
x=[train_set_x1, train_set_x2],
y=np.zeros(len(train_set_x1)),
batch_size=batch_size,
epochs=epoch_num,
shuffle=True,
validation_data=([valid_set_x1, valid_set_x2], np.zeros(len(valid_set_x1))),
callbacks=[checkpointer],
)
The text was updated successfully, but these errors were encountered:
Because DCCA is a self-supervised model and does not require labels, but due to constraints of model.fit, y=np.zeros(len(train_set_x1)) is used. If you go through the objective function, training labels are not used. Those are just dummy values.
I have one question that why labels are zeros in model.fit training funtion.
model.fit(
x=[train_set_x1, train_set_x2],
y=np.zeros(len(train_set_x1)),
batch_size=batch_size,
epochs=epoch_num,
shuffle=True,
validation_data=([valid_set_x1, valid_set_x2], np.zeros(len(valid_set_x1))),
callbacks=[checkpointer],
)
The text was updated successfully, but these errors were encountered: