update readme

This commit is contained in:
venkatacrc 2025-05-19 00:12:55 +00:00
parent 332a1025ba
commit 36afc0da59

View file

@ -11,4 +11,22 @@ $ pip install pyrender trimesh pyglet matplotlib torch transformers pydantic vll
Shared libraries for Ubuntu GL rendering.
```sh
$ sudo apt-get install libglfw3-dev libgles2-mesa-dev libnvidia-gl-570-server
```
```
# Training Data Generation
- Use `dataset_scr.py` to create the following directory structure:
```
dataset/
├── stls/
│ ├── model_0001.stl
│ ├── model_0002.stl
│ └── ...
├── images/
│ ├── model_0001.png
│ ├── model_0002.png
│ └── ...
└── labels.json
```
- Use `render_stl.py` to generate images from STL files.
- Use `llm_label.py` to label the STL and image files.
- Use `prepare_push_hf_dataset.py` to push the dataset to Hugging Face.