alissonpereiraanjos

dataset.toml

Sep 8th, 2025
84
0
Never
10
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. # Resolutions to train on, given as the side length of a square image. You can have multiple sizes here.
  2. # !!!WARNING!!!: this might work differently to how you think it does. Images are first grouped to aspect ratio
  3. # buckets, then each image is resized to ALL of the areas specified by the resolutions list. This is a way to do
  4. # multi-resolution training, i.e. training on multiple total pixel areas at once. Your dataset is effectively duplicated
  5. # as many times as the length of this list.
  6. # If you just want to use predetermined (width, height, frames) size buckets, see the example cosmos_dataset.toml
  7. # file for how you can do that.
  8. resolutions = [512, 768, 1024]
  9.  
  10. # You can give resolutions as (width, height) pairs also. This doesn't do anything different, it's just
  11. # another way of specifying the area(s) (i.e. total number of pixels) you want to train on.
  12. # resolutions = [[1280, 720]]
  13.  
  14. # Enable aspect ratio bucketing. For the different AR buckets, the final size will be such that
  15. # the areas match the resolutions you configured above.
  16. enable_ar_bucket = true
  17.  
  18. # The aspect ratio and frame bucket settings may be specified for each [[directory]] entry as well.
  19. # Directory-level settings will override top-level settings.
  20.  
  21. # Min and max aspect ratios, given as width/height ratio.
  22. min_ar = 0.5
  23. max_ar = 2.0
  24. # Total number of aspect ratio buckets, evenly spaced (in log space) between min_ar and max_ar.
  25. num_ar_buckets = 7
  26.  
  27. # Can manually specify ar_buckets instead of using the range-style config above.
  28. # Each entry can be width/height ratio, or (width, height) pair. But you can't mix them, because of TOML.
  29. # ar_buckets = [[512, 512], [448, 576]]
  30. # ar_buckets = [1.0, 1.5]
  31.  
  32. # For video training, you need to configure frame buckets (similar to aspect ratio buckets). There will always
  33. # be a frame bucket of 1 for images. Videos will be assigned to the longest frame bucket possible, such that the video
  34. # is still greater than or equal to the frame bucket length.
  35. # But videos are never assigned to the image frame bucket (1); if the video is very short it would just be dropped.
  36. frame_buckets = [1]
  37. # If you have >24GB VRAM, or multiple GPUs and use pipeline parallelism, or lower the spatial resolution, you could maybe train with longer frame buckets
  38. # frame_buckets = [1, 33, 65, 97]
  39.  
  40. # Shuffle tags before caching, 0 to keep original caption (unless shuffle_tags is set to true). Increases caching time a tiny bit for higher values.
  41. # cache_shuffle_num = 10
  42. # Delimiter for tags, only used if cache_shuffle_num is not 0. Defaults to ", ".
  43. # "tag1, tag2, tag3" has ", " as delimiter and will possibly be shuffled like "tag3, tag1, tag2". "tag1;tag2;tag3" has ";" as delimiter and will possibly be shuffled like "tag2;tag1;tag3".
  44. # cache_shuffle_delimiter = ", "
  45.  
  46. [[directory]]
  47. # Path to directory of images/videos, and corresponding caption files. The caption files should match the media file name, but with a .txt extension.
  48. # A missing caption file will log a warning, but then just train using an empty caption.
  49. path = '/train/dataset'
  50.  
  51. # You can do masked training, where the mask indicates which parts of the image to train on. The masking is done in the loss function. The mask directory should have mask
  52. # images with the same names (ignoring the extension) as the training images. E.g. training image 1.jpg could have mask image 1.jpg, 1.png, etc. If a training image doesn't
  53. # have a corresponding mask, a warning is printed but training proceeds with no mask for that image. In the mask, white means train on this, black means mask it out. Values
  54. # in between black and white become a weight between 0 and 1, i.e. you can use a suitable value of grey for mask weight of 0.5. In actuality, only the R channel is extracted
  55. # and converted to the mask weight.
  56. # The mask_path can point to any directory containing mask images.
  57. #mask_path = '/home/anon/data/images/grayscale/masks'
  58.  
  59. # How many repeats for 1 epoch. The dataset will act like it is duplicated this many times.
  60. # The semantics of this are the same as sd-scripts: num_repeats=1 means one epoch is a single pass over all examples (no duplication).
  61. num_repeats = 1
  62.  
  63. # Example of overriding some settings, and using ar_buckets to directly specify ARs.
  64. # ar_buckets = [[448, 576]]
  65. # resolutions = [[448, 576]]
  66. # frame_buckets = [1]
  67.  
  68.  
  69. # You can list multiple directories.
  70.  
  71. # [[directory]]
  72. # path = '/home/anon/data/images/something_else'
  73. # num_repeats = 5
  74.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Nikgimyh
    29 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Peyimcy
    25 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment