sochastic commited on
Commit
08cce44
·
verified ·
1 Parent(s): a31265a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +96 -18
README.md CHANGED
@@ -276,15 +276,6 @@ python script_examples/basic_api_example.py
276
  python script_examples/websockets_api_example.py
277
  ```
278
 
279
- ## Key Research Nodes
280
-
281
- | Node | Purpose | Location |
282
- |------|---------|----------|
283
- | FreSca | Frequency scaling | `_for_testing` category |
284
- | PAG | Attention perturbation | `model_patches/unet` |
285
- | SAG | Self-attention guidance | `model_patches` |
286
- | Mahiro | Directional guidance | `_for_testing` |
287
-
288
  ## Troubleshooting
289
 
290
  **CUDA Issues:**
@@ -358,7 +349,102 @@ After ComfyUI is set up:
358
  3. Configure the data paths in the workflow files
359
  4. Run the synthetic data generation pipeline
360
 
361
- ## Troubleshooting
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
 
363
  ### Common Issues
364
 
@@ -371,11 +457,3 @@ After ComfyUI is set up:
371
  - Use `--lowvram` flag if you have limited GPU memory
372
  - Consider using `--cpu` for CPU-only inference (slower)
373
  - Enable model offloading for better memory management
374
-
375
- ## Next Steps
376
-
377
- Once ComfyUI is properly set up, you can proceed with:
378
- 1. Loading the SynSpill workflows
379
- 2. Configuring dataset paths
380
- 3. Running synthetic data generation
381
- 4. Training adaptation models
 
276
  python script_examples/websockets_api_example.py
277
  ```
278
 
 
 
 
 
 
 
 
 
 
279
  ## Troubleshooting
280
 
281
  **CUDA Issues:**
 
349
  3. Configure the data paths in the workflow files
350
  4. Run the synthetic data generation pipeline
351
 
352
+ # Data Directory
353
+
354
+ This directory contains datasets and annotations for the SynSpill project.
355
+
356
+ ## Structure
357
+
358
+ - `synthetic/` - Generated synthetic spill images and annotations
359
+ - `real/` - Real-world industrial CCTV footage (test set)
360
+ - `annotations/` - Ground truth labels and bounding boxes
361
+
362
+ ## Synthetic Data
363
+
364
+ The synthetic dataset is generated using our AnomalInfusion pipeline:
365
+
366
+ - Stable Diffusion XL for base image generation
367
+ - IP adapters for style conditioning
368
+ - Inpainting for precise spill placement
369
+
370
+ ## Citation
371
+
372
+ If you use this data in your research, please cite our ICCV 2025 paper.
373
+ =======
374
+ # SynSpill Data Directory
375
+
376
+ This directory contains datasets, annotations, and workflow configurations for the SynSpill project - a comprehensive dataset for industrial spill detection and synthesis.
377
+
378
+ ## Directory Structure
379
+
380
+ ```text
381
+ data/
382
+ ├── README.md # This file
383
+ ├── generation_workflow.json # ComfyUI workflow for synthetic image generation
384
+ ├── inpainting_workflow.json # ComfyUI workflow for inpainting operations
385
+ ├── release/ # Full dataset release
386
+ │ ├── annotation_masks/ # Binary masks for spill regions (PNG format)
387
+ │ ├── annotations/ # Ground truth annotations and metadata
388
+ │ └── generated_images/ # Complete set of synthetic spill images
389
+ └── samples/ # Sample data for preview and testing
390
+ ├── annotation_masks/ # Sample binary masks
391
+ ├── generated_images/ # Sample synthetic images
392
+ └── inpainted_images/ # Sample inpainted results
393
+ ```
394
+
395
+ ## Dataset Contents
396
+
397
+ ### Release Dataset (`release/`)
398
+
399
+ - **Generated Images**: High-quality synthetic industrial spill scenarios
400
+ - **Annotation Masks**: Pixel-perfect binary masks identifying spill regions
401
+ - **Annotations**: Structured metadata including bounding boxes, class labels, and scene descriptions
402
+
403
+ ### Sample Dataset (`samples/`)
404
+
405
+ A subset of the full dataset for quick evaluation and testing purposes, containing:
406
+
407
+ - Representative examples from each category
408
+ - Various spill types and industrial environments
409
+ - Both generated and inpainted image samples
410
+
411
+ ### Workflow Configurations
412
+
413
+ - **`generation_workflow.json`**: ComfyUI workflow for generating base synthetic images using Stable Diffusion XL
414
+ - **`inpainting_workflow.json`**: ComfyUI workflow for precise spill placement and inpainting operations
415
+
416
+ ## Synthetic Data Generation
417
+
418
+ The synthetic dataset is created using our AnomalInfusion pipeline:
419
+
420
+ 1. **Base Generation**: Stable Diffusion XL creates industrial environment images
421
+ 2. **Style Conditioning**: IP adapters ensure consistent visual style across scenes
422
+ 3. **Spill Synthesis**: Controlled inpainting places realistic spills in specified locations
423
+ 4. **Mask Generation**: Automated creation of precise segmentation masks
424
+
425
+ ## Usage
426
+
427
+ The data is organized for direct use with computer vision frameworks:
428
+
429
+ - Images are in standard formats (PNG/JPG)
430
+ - Masks are binary images (0 = background, 255 = spill)
431
+ - Annotations follow standard object detection formats
432
+
433
+ ## Citation
434
+
435
+ If you use this dataset in your research, please cite our ICCV 2025 paper:
436
+
437
+ ```bibtex
438
+ @inproceedings{baranwal2025synspill,
439
+ title={SynSpill: Improved Industrial Spill Detection With Synthetic Data},
440
+ author={Baranwal, Aaditya and Bhatia, Guneet and Mueez, Abdul and Voelker, Jason and Vyas, Shruti},
441
+ booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision - Workshops (ICCV-W)},
442
+ year={2025}
443
+ }
444
+ ```
445
+
446
+
447
+ # Troubleshooting
448
 
449
  ### Common Issues
450
 
 
457
  - Use `--lowvram` flag if you have limited GPU memory
458
  - Consider using `--cpu` for CPU-only inference (slower)
459
  - Enable model offloading for better memory management