carbonscott / exp-peaknet

Run peaknet experiments
0 stars 1 forks source link

Distillation using a detector specific dataset #11

Open carbonscott opened 3 weeks ago

carbonscott commented 3 weeks ago

Distillation csv (soft label): /sdf/data/lcls/ds/prj/prjcwang31/results/proj-peaknet/distill

carbonscott commented 3 weeks ago

Lessons:

Screenshot 2024-11-01 at 8 55 26 PM

carbonscott commented 3 weeks ago

Rayonix is the next one to try.

carbonscott commented 3 weeks ago

One way to check if this is a good result is to run inference and perform indexing.

carbonscott commented 3 weeks ago

Hmm... the rayonix distillation is not done yet, but it seems there's a benefit of training on a mix of data. It seems during the distillation, the model learns to find peaks that are not in the non-crystalline diffraction zone.

Screenshot 2024-11-02 at 6 03 33 PM

.., but keep in mind that the distillation is not done yet.

carbonscott commented 3 weeks ago

After another day of training, the model (atto-2bifpn512) still struggles to find peaks inside the water ring area (non-crystalline scattering). I suspect small peaks inside the ring don't provide enough signals for the model to learn. This may suggest that mixed detector training could be more advantageous.

Student, atto-2bifpn512

Screenshot 2024-11-03 at 8 53 24 PM

Teacher, huge-4bifpn512

Screenshot 2024-11-03 at 8 54 48 PM