no local_path column in csv files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hi all, thank you for your wonderful works first!
I noticed that when I'm trying to configure my dataset on step 4 to render multiviews, I run in to the following error:
Traceback (most recent call last):
File "TRELLIS/dataset_toolkits/render.py", line 91, in
metadata = metadata[metadata['local_path'].notna()]
File ".local/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in getitem
indexer = self.columns.get_loc(key)
File ".local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc
raise KeyError(key) from err
KeyError: 'local_path'
I've printed out the columns in local path and seems like local_path truly isn't an available column. Are there possible solutions to this?
Many thanks in advance!
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 dataset_toolkits/render.py at line 91 and reproduce the step 4 multiview configuration using the reported CSV. Trace where the CSV columns are produced and compare that schema with the renderer’s expectation. Done means the expected CSV input and handling of the local_path field are clear and step 4 no longer fails with this KeyError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- computer-graphics, data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100