Loss is too high, and no result output by infer.py
PubMedKG opened this issue · comments
yuch25 commented
Khoi Nguyen commented
Sorry for the late reply, have you fixed the issue?
It seems to me the p_mask
parameter in the forward function of the model messed with the cross entropy loss, you can send p_mask = None
from the training loop and the loss would converge.
yuch25 commented
Sorry for the late reply, have you fixed the issue? It seems to me the
p_mask
parameter in the forward function of the model messed with the cross entropy loss, you can sendp_mask = None
from the training loop and the loss would converge.
Oh, thank you, it works for me. You are really a cool man!