Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)Getting distribution for 'getpaid.yoma.batching'.Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)Getting distribution for 'getpaid.y
我目前正在尝试使用预先训练过的变压器模型来进行分类问题。我使用tf.data.Dataset.from_generator方法编写了一个自定义生成器。该模型接受两个输入: input_id和attn_mask。当调用model.fit时,我得到的值错误“没有足够的值来解压(预期的2,got 1)”,接收到的参数列表显示它同时得到了input_id和attn_mask。有人能帮我解决这个问题吗?from tensorflow.keras.models import Model
from transformers import
="/job:localhost/replica:0/task:0/cpu:0"](batching/padding_fifo_queue, batching/n)]]
W tensorflow/core="/job:localhost/replica:0/task:0/cpu:0"](batching/padding_fifo_queue, batching