Open tgnassou opened 3 months ago
The function to create deep DA models should have a parameter criterion or base_criterion or source_criterion. For now, it is hardcoded as a cross-entropy loss but if the model has a softmax for example one should be able to put a BCELoss.
criterion
base_criterion
source_criterion
Added a 'criterion' parameter with default as 'cross_entropy_loss'
The function to create deep DA models should have a parameter
criterion
orbase_criterion
orsource_criterion
. For now, it is hardcoded as a cross-entropy loss but if the model has a softmax for example one should be able to put a BCELoss.