Golden-scientists / multi-task-model

testing the limits of a multi-task model
3 stars 3 forks source link

problem of calculating loss for a batch full masked for a task #1

Closed marouaneamz closed 1 year ago

marouaneamz commented 1 year ago

Scenario:

problem of entrain a model for multitasking by launching the following command:

Context :

we try to train a multitask model with the mask for the images which does not correspond to a specific task, but with two totally different datasets, we have a batch which contains no images for the second task, so the implement we before done in the following line :

marouaneamz commented 1 year ago

solved https://github.com/open-mmlab/mmpretrain/pull/1530