Monjoy Saha
Monjoy Saha
A simple working code: ``` from tensorflow.io import read_file from tensorflow.image import decode_image import glob import os data_dir = '/data/Cat/*.jpg' for image in sorted(glob.glob(data_dir)): img = read_file(str(image)) img = decode_image(img)...
@hannamraha Please close the issue if you are satisfied with the solution.
@toby-cnr That should not be the case. If the problem persists. Please double-check your original dataset. You can also resize the images as needed.
@bmd143 Please close the issue if you are satisfied with the solution.
@Planetdtudy You don't need to install `nii_to_pngs_converter.py` if you have followed installation instructions of `nii2png.py`. Just run the code by setting the required arguments.
@salammemphis Missing files are available here [https://github.com/tkuanlun350/3DUnet-Tensorflow-Brats18](url)
@ellynasr Most probably, you can find a full clone of that repository here on GitHub: https://github.com/svn2github/word2vec. Please read this post ( https://stackoverflow.com/questions/48656409/google-word2vec-sourcecode/48688168 ) for more details
It's being almost six months no one replied. Hence, I decided to answer this question as someone else might face the same issue in the future. Most probably your **bg_img**...
Did you change `.png` to `.jpg` or `.jpeg`? Follow the below steps and run the code. **Replace:** `image_name = fname[:-4] + "_z" + "{:0>3}".format(str(current_slice+1))+ ".png"` **with** `image_name = fname[:-4] +...