Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heartInsert/Randaugment
an personal implementation about randaugment
https://github.com/heartInsert/Randaugment
Last synced: 8 days ago
JSON representation
an personal implementation about randaugment
- Host: GitHub
- URL: https://github.com/heartInsert/Randaugment
- Owner: heartInsert
- Created: 2019-10-16T13:38:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T12:37:16.000Z (7 months ago)
- Last Synced: 2024-08-01T15:29:40.224Z (3 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 76
- Watchers: 3
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# randaugment
an personal implementation about google's Randaugment (testing accuracy in cifar-10) in computer vision.This repo a partly copy from https://github.com/DeepVoltaire/AutoAugment ,it a implemetation about autoaugment published by google . I just change some code about operations selected way.
I must say a very important point here , there is no need to set the param magnitude as same as google's , there is different best max magnitude for different dataset , so I wrote a test fun for you to test every single operation with different magnitude.
# 1: if you want to just call this class ,write like above , this is for call the whole function
img_augment = Rand_Augment()
img_origal = Image.open(r'0a38b552372d.png')
img_final = img_augment(img_origal)
plt.imshow(img_final)
plt.show()
print('how to call')# 2: if you want to test a single function,write like above
img_augment = Rand_Augment()
img_origal = Image.open(r'0a38b552372d.png')
img_final = img_augment.test_single_operation(img_origal, 'shearX')
plt.imshow(img_final)
plt.show()
print('how to test')Actually ,this is my first time to write a reposity in Github , if there is some bug here , just point it directly. I'm almost in the internet every day :)