Data Augmentation
See original GitHub issueHey!
Ich checked your data augmentation. In random rotate there is
#flow vectors must be rotated too! careful about Y flow which is upside down
target_=np.array(target, copy=True)
target[:,:,0] = np.cos(angle1_rad)*target_[:,:,0] + np.sin(angle1_rad)*target_[:,:,1]
target[:,:,1] = -np.sin(angle1_rad)*target_[:,:,0] + np.cos(angle1_rad)*target_[:,:,1]
but in RandomCropRotate it is
#flow vectors must be rotated too!
target_=np.array(target, copy=True)
target[:,:,0] = np.cos(angle1_rad)*target_[:,:,0] - np.sin(angle1_rad)*target_[:,:,1]
target[:,:,1] = np.sin(angle1_rad)*target_[:,:,0] + np.cos(angle1_rad)*target_[:,:,1]
I guess the first one is correct? Furthermore, if positive y flow is pointing downwards wouldn’t you have to change the translation as well? In RandomTranslate you do:
target[:,:,1]+= th
I guess if th is positive (you tranlsate upwards), your y flow would decrease?
What are your test scores on sintel (final, clean) or kitti? Many thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Data augmentation - Wikipedia
Data augmentation in data analysis are techniques used to increase the amount of data by adding slightly modified copies of already existing data...
Read more >Data augmentation | TensorFlow Core
This tutorial demonstrates data augmentation: a technique to increase the diversity of your training set by applying random (but realistic) transformations, ...
Read more >The Essential Guide to Data Augmentation in Deep Learning
Data augmentation is a process of artificially increasing the amount of data by generating new data points from existing data. This includes adding...
Read more >What is Data Augmentation? Techniques & Examples in 2023
Data augmentation is a set of techniques to artificially increase the amount of data by generating new data points from existing data.
Read more >Data Augmentation in Python: Everything You Need to Know
Data augmentation is a technique that can be used to artificially expand the size of a training set by creating modified data from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can just delete this line in main.py : https://github.com/ClementPinard/FlowNetPytorch/blob/master/main.py#L144 All data augmentation is comprised in co_transform routines
Hi, any way to turn off data augmentation? I want to compare both methods (with/with out data pre-processing).