|
loss1 = loss_fn(region_scores_pre, region_scores_label) |
|
loss2 = loss_fn(affinity_scores_pre, affinity_socres_label) |
Due to the frequent interruption of the company github connection, it is not convenient to update the readme.
Now synthData can be trained according to the updated repo. If the GPUs is enough, you can compare the effects of torch.sqrt(loss1+1e-8) and torch.sqrt(loss2+1e-8). The pixel value of the background is probably How many
CRAFT-Reimplementation/loss/mseloss.py
Line 43 in fbaa63a
CRAFT-Reimplementation/loss/mseloss.py
Line 44 in fbaa63a
Due to the frequent interruption of the company github connection, it is not convenient to update the readme.
Now synthData can be trained according to the updated repo. If the GPUs is enough, you can compare the effects of torch.sqrt(loss1+1e-8) and torch.sqrt(loss2+1e-8). The pixel value of the background is probably How many