Closed zqiao11 closed 4 months ago
Hey, thanks for catching this. I think you're right, it should be prediction_length // patch_size
, will look into this.
Hi, it should be math.ceil(prediction_length / patch_size)
since the prediction range has been padded.
I think there wouldn't be a difference if the prediction range is already padded?
Let's say if prediction length is 96 and patch size is 64, the prediction range will be padded to 128 to make sure there are multiple patches. So, the last 2 patches should be masked as True in prediction_mask
.
If we use prediction_length // patch_size
, then only the last patch is masked as True.
Right... this makes sense. Thanks a lot!
Hi @gorold. May I clarify the setup of the prediction mask in validation dataset in MoiraiFinetune?
Now
mask_length
is computed as-prediction_length % patch_size
. Shouldn't themask_length
be computed asprediction_length // patch_size
? As the logic here seems to mask the patches in the prediction range.Please correct me if my understanding is incorrect. Look forward to your reply.