Processing time and memory
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 49/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- performance
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 0
- 派生
- 1
- 平均合并
- 4 小时 48 分钟
- 30 天内合并 PR
- 55
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AllenNeuralDynamics/GIAnT-Python 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 54/100
AllenNeuralDynamics/GIAnT-Python#66 · 2 条评论 ·
维护者通常 1 天内回复
-
Tune the extraction parameters by Bayesian optimisation after the next F0 network可能已有人在做 @j-friedrich 于 5 天前认领。 未关闭enhancement
AllenNeuralDynamics/GIAnT-Python#55 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 24/100
AllenNeuralDynamics/GIAnT-Python#51 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
AllenNeuralDynamics/GIAnT-Python#50 · 1 条评论 ·
维护者通常 1 天内回复
查看 AllenNeuralDynamics/GIAnT-Python 的全部 Issue
相似的 Issue
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loop可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
arith ascend bug
难度 2/5 1-3 小时 新手友好度 74/100
tile-ai/tilelang#5173 · 2 条评论 · 1 个 reaction ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
lanl/text-fetch#92 ·
维护者通常 1 天内回复
-
kind: for-triage
难度 2/5 1-3 小时 新手友好度 66/100
monumental-archive/.github#2284 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 87/100
TanbirRamim/open-source-radar#761 ·
维护者通常 1 天内回复