activatedgeek / activatedgeek/tight-pac-bayes

Infinite recursion when using transpose

Đang mở
#2 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
18
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello! If I do Projector.T @ W it goes into an infinite loop. The code seems to be off. Any ideas?

File "/skunk-pod-storage-brg-40mit-2eedu-pvc/smi_compression/pactl/linear_operator_base.py", line 196, in matvec
y = self._matvec(x)
File "/skunk-pod-storage-brg-40mit-2eedu-pvc/smi_compression/pactl/linear_operator_base.py", line 513, in _matvec
return (self.A._rmatvec((x)))
File "/skunk-pod-storage-brg-40mit-2eedu-pvc/smi_compression/pactl/linear_operator_base.py", line 247, in _rmatvec
return self.T.matvec(x)
File "/skunk-pod-storage-brg-40mit-2eedu-pvc/smi_compression/pactl/linear_operator_base.py", line 196, in matvec
y = self._matvec(x)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Inspect `smi_compression/pactl/linear_operator_base.py` at the traceback sites (around lines 196, 247, and 513), focusing on `matvec`, `_matvec`, `_rmatvec`, and how `self.T` is resolved. Reproduce with the same operation pattern (`Projector.T @ W`) to confirm the recursive call chain. Then run whatever tests or checks in the project cover `pactl` linear-operator behavior and mark it done when the transpose call returns normally without looping or stack overflow.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
machine-learning
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
44/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.