'Maximum Version Size' or multiplier of augmented images when generating versions via API

python script:
ver = proj.generate_version(settings={
‘augmentation’: {‘saturation’: {‘percent’: 9}, ‘rgrayscale’: {‘percent’: 9}},
‘preprocessing’: {‘auto-orient’: True)

Is here any argument to change ‘Maximum Version Size’?

Hi @Byron_Yeh

Yes, there is! Under augmentation, there’s a property called image where you can set versions to any number you’d like. (Within the allowed limits of your plan, which if you are on the public plan would be 3)

It’d look something like this:

project.generate_version(settings={
  "augmentation": {
    "image": { "versions": 3 }
  },
  "preprocessing": {}
})
1 Like

For future reference, we’ve updated the documentation with more details on the version generation options here, including the multiplier of augmented images for each original image.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.