clean up
This commit is contained in:
parent
b49afeb322
commit
8aaf69494b
Binary file not shown.
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 39 KiB |
|
@ -48,7 +48,7 @@ func tOne() {
|
|||
|
||||
// t, err := aug.Compose(aug.WithRandomAutocontrast(1.0))
|
||||
// t, err := aug.Compose(aug.WithRandomSolarize(aug.WithSolarizeThreshold(125), aug.WithSolarizePvalue(1.0)))
|
||||
// t, err := aug.Compose(aug.WithRandomAdjustSharpness(aug.WithSharpnessPvalue(1.0), aug.WithSharpnessFactor(10)))
|
||||
t, err := aug.Compose(aug.WithRandomAdjustSharpness(aug.WithSharpnessPvalue(1.0), aug.WithSharpnessFactor(10)))
|
||||
// t, err := aug.Compose(aug.WithRandRotate(0, 360))
|
||||
// t, err := aug.Compose(aug.WithResize(320, 320)) // NOTE. WithResize just works on CPU.
|
||||
// t, err := aug.Compose(aug.WithRandomPosterize(aug.WithPosterizeBits(2), aug.WithPosterizePvalue(1.0)))
|
||||
|
@ -58,7 +58,7 @@ func tOne() {
|
|||
// t, err := aug.Compose(aug.WithRandomGrayscale(1.0))
|
||||
// t, err := aug.Compose(aug.WithRandomVFlip(1.0))
|
||||
// t, err := aug.Compose(aug.WithRandomHFlip(1.0))
|
||||
t, err := aug.Compose(aug.WithRandomEqualize(1.0))
|
||||
// t, err := aug.Compose(aug.WithRandomEqualize(1.0))
|
||||
// t, err := aug.Compose(aug.WithRandomCutout(aug.WithCutoutValue([]int64{124, 96, 255}), aug.WithCutoutScale([]float64{0.01, 0.1}), aug.WithCutoutRatio([]float64{0.5, 0.5})))
|
||||
// t, err := aug.Compose(aug.WithCenterCrop([]int64{320, 320}))
|
||||
// t, err := aug.Compose(aug.WithRandomAutocontrast())
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 265 KiB |
Loading…
Reference in New Issue
Block a user