skada
skada copied to clipboard
Put a parameters criterion to deep models function
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.