Open romdos opened 6 years ago
The image augmentation codes are in file data.py. I think the docstring of class myAugmentation
can answer your question:
A class used to augmentate image
Firstly, read train image and label seperately, and then merge them together for the next process
Secondly, use keras preprocessing to augmentate image
Finally, seperate augmentated image apart into train image and label
For some reasons the TIFF package throws an error: ArgumentError: argument 1: <class 'TypeError'>: wrong type. But I solved it using skimage package. Now it works. Do you know some tools for masks creating? I mean if I have my own data.
File "D:\Anaconda3\lib\site-packages\libtiff\libtiff_ctypes.py", line 1557, in open tiff = libtiff.TIFFOpen(filename, mode)
ArgumentError: argument 1: <class 'TypeError'>: wrong type
find this error when running the split_merge_tif.py how can i solve it
@ELI95 Have you solved your problem?
Question about training data format. As far as I understood you augment data by using imgwrap tool. But how are the labels changed? How to label augmented training images?