Bug in `train_utils.py`
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.5k
- Forks
- 125
- Avg merge
- 22d 8m
- Merged PRs (30d)
- 1
Description
indices is a list, list does not have .shape, so L101 will lead to an AttributeError: 'list' object has no attribute 'shape'.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/kblam/utils/train_utils.py and inspect the code around lines 90-101, then run the relevant training path to reproduce the reported AttributeError. Confirm the handling of indices works for the list input and verify that the training path completes without this failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100