ControlNet icon indicating copy to clipboard operation
ControlNet copied to clipboard

Details of the random transforms for creating user sketch data

Open harpavatkeerti opened this issue 2 years ago • 2 comments

Hi, really interesting work. I was trying to train the model on a custom dataset, by generating user sketches using the method you mentioned. I couldn't find the implementation details for the set of strong data augmentations (random thresholds, randomly masking out a random percentage of scribbles, random morphological transformations, and random non-maximum suppression) you mentioned in the paper. It would be of great help if you could point me toward that code. Thanks.

harpavatkeerti avatar Feb 18 '23 20:02 harpavatkeerti

@lllyasviel Same question here. I've seen the nms in https://github.com/lllyasviel/ControlNet/blob/main/gradio_fake_scribble2image.py, but it doesn't seem to include the other three augmentations?

rems75 avatar Mar 16 '23 15:03 rems75

@lllyasviel Could you please kindly share the details.

lilisierrayu avatar Mar 23 '23 06:03 lilisierrayu