zju3dv/snake

How to turn off data augmentation?

Closed this issue · 1 comments

yhc-1 commented

Hi,
I'm having issues with data augmentation generating polygons that crashes the program. This is probably due to different image size, the random scaling and cropping.

How can I modify the code to turn it off? (

orig_img, inp, trans_input, trans_output, flipped, center, scale, inp_out_hw = \
)

Thanks a lot!

Please read the code of function augment to see how to revise the code.