TypeError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I met the following error while running the code:
Traceback (most recent call last):
File "C:/Users/Admin/Documents/code/BiPointNet/scripts/main.py", line 31, in
cfg, stem = parse_cfg(args.cfg)
File "C:\Users\Admin\Documents\code\BiPointNet\utils\utils.py", line 96, in parse_cfg
with open(path, 'r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
May I ask which file path is imported by the ‘cfg’ parameter? Looking forward to your reply, thanks!
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
Start with the argument handling in scripts/main.py around the call to parse_cfg(args.cfg), then inspect parse_cfg in utils/utils.py around line 96. Trace how the cfg argument is supplied and document which configuration path is required; done means the source of the None value and the expected cfg path are clear.
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
- Needs clarification
- Newbie friendliness
- 25/100