teamtomo / membrain-seg

membrane segmentation in 3D for cryo-ET
Other
47 stars 12 forks source link

nan in the training loss #62

Open Hanyi11 opened 3 months ago

Hanyi11 commented 3 months ago

Description

When training the membrain-seg model, it can happen that sometimes the training loss and training surface dice become nan.

git clone https://github.com/teamtomo/membrain-seg.git
%cd membrain-seg
!pip install .
%cd membrain-seg
!membrain
!membrain train
conda activate memBrain
membrain train --data-dir /home/icb/hanyi.zhang/534_withnewSyntheticAndCollaborators
membrain train_advanced --num-workers 16 --data-dir /home/icb/hanyi.zhang/534_withnewSyntheticAndCollaborators

Epoch 21: 100%
EPOCH Training loss nan
EPOCH Training acc 0.9495545029640198
EPOCH Training surface dice nan