You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- COSMOS-Transfer photo-realistic augmentation guided by multi-modal inputs and prompts
42
-
- SoM-aware post-processing to preserve object correspondence across modalities
36
+
This workflow provides a Synthetic Data Generation (SDG) recipe to produce VLM-ready datasets for smart city applications. In areas where the highest model accuracy is vital, finetuning on domain specific data is essential. Synthetic data generation and augmentaion offer an easy and scalable way to collect this data to your exact specifications. However, there are significant challenges associated with creating diverse, photorealistic training data from simulators that this workflow aims to address:
43
37
44
-
Primary components:
38
+
-**Domain Gap**: While simulators provide perfect ground truth and controllable scenarios, their synthetic appearance creates a substantial domain gap that limits the performance of models trained on simulator data when deployed in real-world environments.
39
+
-**Scalability Constraints**: Manually crafting diverse scenarios in simulators requires substantial engineering effort and computational resources, making it prohibitively expensive to scale up data diversity.
40
+
-**Limited Visual Realism**: Traditional simulator outputs lack the photorealistic quality needed for robust real-world model deployment, requiring additional post-processing or domain adaptation techniques.
41
+
42
+
To remedy these issues, this workflow provides a recipe to:
43
+
- Simulate customized traffic scenarios using CARLA
- Use COSMOS-Transfer to generate photo-realistic augmentations that bridge the sim-to-real gap
46
+
- Scale synthetic data with customizable augmentation variables
47
+
- Generate post-training datasets for model fine-tuning
48
+
- SoM-aware post-processing to preserve object correspondence across modalities
49
+
- Q&A Caption generation for VLM post-training
50
+
51
+
The output of this recipe is designed to offer a simple hand-off for further fine-tuning and deployment in the metropolis stack.
52
+
Refer to the [Cosmos Cookbook](https://nvidia-cosmos.github.io/cosmos-cookbook/) for [Fine-tuning](https://nvidia-cosmos.github.io/cosmos-cookbook/recipes/post_training/reason1/intelligent-transportation/post_training.html) and [VSS documentation](https://docs.nvidia.com/vss/latest/#) for [Deployment](https://docs.nvidia.com/vss/latest/content/installation-vlms.html#local-models-cosmos-reason1) guides.
53
+
54
+
**Primary components:**
45
55
-`modules/carla-ground-truth-generation`: CARLA ground-truth extraction and dataset tooling
46
56
-`modules/augmentation`: Prompting, template/prompt generation, and COSMOS execution utilities
4) Deploy the stack. There are two main deployment options available:
165
175
166
176
-**Homogeneous Deployment:** This mode launches all NIM services (VLM, LLM, Cosmos-Transfer) and the Workbench on a single machine (default, no extra arguments). It is recommended for systems with at least 4 suitable GPUs (RTX support and 80+ GB VRAM). Simply run `./deploy.sh` to start the entire stack locally.
-**Heterogeneous Deployment:** This mode allows you to run the NIM stack (VLM, LLM, Cosmos-Transfer) on one machine and the Workbench (with CARLA) on another, using the `nim` and `workbench` arguments respectively. This is useful if you wish to distribute resource usage across multiple hosts. You'll need to set the `NIM_HOST` environment variable on the Workbench node to point to the NIM node.
"The notebook utilizes 3 scenarios (for simulation) and each scenario is augmented twice using Cosmos Transfer2.5. On the 4xRTX PRO 6000 setup the end-to-end notebook runtime would be roughly 2h 30 mins.\n",
49
+
"The notebook utilizes 3 scenarios (for simulation) and each scenario is augmented once using Cosmos Transfer2.5. On the 4xRTX PRO 6000 setup the end-to-end notebook runtime would be roughly 1h 30 mins.\n",
50
50
"\n",
51
51
"Below is the overall breakdown for the end to end notebook \n",
"Let us now set up the configuration necessary to perform augmentation. These will determine what gets generated by Cosmos Transfer. If using the default files no changes are needed. "
234
+
"Let us now set up the configuration necessary to perform augmentation. These will determine what gets generated by Cosmos Transfer. If using the default files no changes are needed.\n",
235
+
"\n",
236
+
"By default, `NUM_AUGMENTATIONS` is set to 1, meaning only 1 augmented video will be generated per ground-truth input. If you would like to further increase your data diversity, you can modify this parameter to generate more videos (note this will greatly increase processing time). To limit which conditions can be chosen in each augmentation, you can add or remove items from the 3 lists in `variables`."
0 commit comments