How to set the input when compiling model for non-image input?
Open
Nobody has claimed this yet.
question
story: Documentation & Examples
- Dominant language
- Python
- Stars
- 3k
- Forks
- 410
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 78
Description
Hi, I have trained a model whose input is a set of 3D points with a shape Nx3, N is not a fixed number. In this case, how to set the input during compiling my model?
For image, the input shape is like this:
inputs = [torch.randn((1, 3, 224, 224)).to("cuda").half()]
What if for my case? Thank you!
### Tasks
Contributor guide
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
No repository file or test is named in the issue. Start by locating the compiler's input-specification documentation and existing examples for non-image or dynamic-shape inputs. Done means explaining how to compile a model whose input has shape Nx3 with a variable N.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100