Closed schwert26 closed 8 months ago
Here's the list of my dataset,I copied it from my schoolmates.Is there a problem with my data or does it need to be processed by https://github.com/EikoLoki/MICCAI_challenge_preprocess ?
Yes, the data should be processed as in the link.
In https://github.com/EikoLoki/MICCAI_challenge_preprocess, you can find an all_in_one.py
file. You can change the path in the file to the path of each frame, and get the processed frames.
Thanks for your apply!I am so sorry that I still don't understand....Could you be more specific?Thank you very much!
Hi, thanks for making this work available! Is that means to change the rootpath in the file(rootpath = '/media/eikoloki/TOSHIBA EXT/MICCAI_SCARED/dataset3')as your own data's path?And then?
@schwert26 @sunshinewuu
Thanks for your attention. To be specific, there are several steps:
Step1: git clone the repo from https://github.com/EikoLoki/MICCAI_challenge_preprocess
Step2: change the rootpath
in all_in_one.py
to my own path. For example, after downloading and unzipping the original SCARED dataset (remember to unzip all files, including the files under the data
subfolder of each keyframe), I want to process /home/yifliu3/scared/dataset_1
(my own path), then the rootpath
is modified as /home/yifliu3/scared/dataset_1
.
Step3: some keyframes (e.g., keyframe_5) of the dataset have no data
file, please modify these keyframe_x folders to keyframe_x_ignore.
Step4: execute the all_in_one.py
using python all_in_one.py
Thanks for your reply!
I am wondering is that my dataset is not complete?I have followed your step, execute the all_inone.py, but an error occurred:Traceback (most recent call last):
File "all in_one.py", line 10, in
Hi,
I just checked the pre-processing code and found they're using rgb_data
folder as the space to save the processed images. You can add an operation os.makedirs(rgb_filepath, exist_ok=True)
before the parse_video
function in Video_parser.py
.
It works!I've changed some code in the EndoGaussian-master/scene/endo_loader.py/def load_meta(self).
I am wondering how to use the code in https://github.com/EikoLoki/MICCAI_challenge_preprocess to process each frame of the SCARED dataset?