Processing time and memory
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 49/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- performance
Rechercherichtung
Start by timing the loader in the two modes described: rigid shift using _WholePixels in trial_data.py, and the patchwise map path. Compare loader timings on the same recording, since the issue says whole-run timings do not isolate this cost. Done means establishing whether reading each trial on its own pixel grid improves loader time while preserving the solve and fitted footprints; the issue gives no specific test or benchmark command.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Measured on three-minute excerpts with two imaging paths, per recorded minute: registration 2 to 7 minutes (one 48 GB GPU), network baseline 7 to 10 minutes (same GPU), source finding and extraction 4 to 5 minutes (32 cores).
- The network's prediction is the slowest step, and several times slower on an 8 GB desktop GPU.
- Extraction is paced by the sequential loading of trials (about 40 s each), not by the solver.
- The simulated noise movies that calibrate the detection threshold double the time of source finding.
- Trial combination recomputes the patchwise warp grid many times per trial (noted by Copilot on #45).
- Source-finding workers peak at 8.6 to 9 times the size of one channel in memory, above GIAnT-MATLAB's sizing rule of 6.5.
From the open directions in the README's release notes (November 2026).
Solving on each trial's own pixel grid (2026-11-27)
The patchwise across-trial map is estimated once per trial and no frame is warped as an image. It is used to warp each trial's activity and mean image onto the common frame, and once per trial to compute where each selected pixel lies in the trial's registered frame. The 200 Hz data for the solve are then read from the raw samples at those positions plus the within-trial motion, in one bilinear interpolation.
The cost is in that read. With a rigid shift all pixels share their interpolation weights in a frame and the loader has a fast path (_WholePixels in trial_data.py). With the patchwise map every pixel has its own fractional position, so every frame goes through the general path, and the interpolation blur differs from pixel to pixel.
Proposed: read each trial on its own pixel grid (the fast path), map the seeds and the pixel selection into the trial through the map, solve there, and map the fitted footprints back once per trial. Locally the map is a shift, so the solve loses nothing. First step: time the loader in the two modes; so far only whole runs were timed (+10 to +21% on the dense recording together with the wider footprints, no change on the others).
The solver's outer loops are already at their minimum (two: activity, baseline scale, footprints, activity, then the debiasing fit), and with the network baseline the solver does not set the pace, so no work is planned there.
- Vorherrschende Sprache
- Python
- Sterne
- 0
- Forks
- 1
- Ø Merge
- 4 Std. 48 Min.
- Gemergte PRs (30 T.)
- 55
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AllenNeuralDynamics/GIAnT-Python
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 54/100
AllenNeuralDynamics/GIAnT-Python#66 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Tune the extraction parameters by Bayesian optimisation after the next F0 networkEvtl. vergeben @j-friedrich hat das vor 5 Tagen übernommen. Offenenhancement
AllenNeuralDynamics/GIAnT-Python#55 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 24/100
AllenNeuralDynamics/GIAnT-Python#51 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
AllenNeuralDynamics/GIAnT-Python#50 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in AllenNeuralDynamics/GIAnT-Python
Ähnliche Issues
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug llm translation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
arith ascend bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
tile-ai/tilelang#5173 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lanl/text-fetch#92 ·
Maintainer antworten meist innerhalb von 1 Tag
-
kind: for-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
monumental-archive/.github#2284 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
TanbirRamim/open-source-radar#761 ·
Maintainer antworten meist innerhalb von 1 Tag