Contrastive-Lift icon indicating copy to clipboard operation
Contrastive-Lift copied to clipboard

Issue with training

Open gtangg12 opened this issue 1 year ago • 1 comments

Hello, thank you for this great work!

for this line running on an itw dataset:

loss_semantics = (self.loss_semantics(output_semantics, probs) * confs).mean()

gives the error:

RuntimeError: 0D or 1D target tensor expected, multi-target not supported

Also requirements.txt has duplicate packages and is not complete i believe

gtangg12 avatar Feb 01 '24 22:02 gtangg12

I disabled probabilistic_ce_mode: "TTAConf"

Is this param important?

What do these images mean? Screen Shot 2024-02-01 at 5 47 03 PM

gtangg12 avatar Feb 01 '24 22:02 gtangg12