batchgenerators icon indicating copy to clipboard operation
batchgenerators copied to clipboard

A framework for data augmentation for 2D and 3D image classification and segmentation

Results 57 batchgenerators issues
Sort by recently updated
recently updated
newest added

Hi, In [DataLoader](https://github.com/MIC-DKFZ/batchgenerators/blob/master/batchgenerators/dataloading/data_loader.py) class, there are an argument `seed_for_shuffle` which controls reproducibilty that when using DataLoader with `infinite=False` and `shuffle=True` (between two different trains, the data feeding the network will...

Hi Fabian, First thanks all your team for the great job developing this package! I have a doubt. In the [brats2017_dataloader_3D.py](https://github.com/MIC-DKFZ/batchgenerators/blob/01f225d843992eec5467c109875accd6ea955155/batchgenerators/examples/brats2017/brats2017_dataloader_3D.py#L133) example you implement in the `generate_train_batch` method, inside you...

I would like to know on how can I do batchgenerator on many images in a folder? Because right now in the code example_ipynb.ipynb is using the self._data; which mean...

Does that mean the input has to be a list or must it be an array of arrays based on the [example](https://github.com/MIC-DKFZ/batchgenerators/blob/master/batchgenerators/examples/example_ipynb.ipynb) `img = np.tile(img[None, None], (self.BATCH_SIZE, 1, 1, 1))`?...

Hello - I would like to use the library for offline augmentations (meaning to augment the dataset prior to training rather than during training) - is there a way to...

Hi, I noticed that the finish procedure in `MultiThreadedAumenter` uses the `terminate()` method of `Process` to end the child process by sending SIGTERM. https://github.com/MIC-DKFZ/batchgenerators/blob/01f225d843992eec5467c109875accd6ea955155/batchgenerators/dataloading/multi_threaded_augmenter.py#L273-L275 In my project, my main process...

Question about multithreading: 2. After each use of kill -9 processID, the GPU memory is still occupied, and each process needs to be manually killed before it can be finally...

'data' value must have shape (b, c, x, y, z) for 3D, but I don't know what do x, y, z stand for respectively. I saw some other code, use...

Problem: Traceback (most recent call last): File "/data/home/zhangyinglin/anaconda3/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap self.run() File "/data/home/zhangyinglin/anaconda3/lib/python3.7/multiprocessing/process.py", line 99, in run self._target(*self._args, **self._kwargs) File "/data/home/zhangyinglin/anaconda3/lib/python3.7/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 36, in producer data_loader.set_thread_id(thread_id) AttributeError: '_MultiProcessingDataLoaderIter'...

I have modified the code according to Windows Support is very experimental! However, the problem also occurs as follows. Have any method to solve it? Traceback (most recent call last):...