mseg-semantic icon indicating copy to clipboard operation
mseg-semantic copied to clipboard

MSeg, universal demo takes 10 minute for 1 image, why so?

Open luda1013 opened this issue 1 year ago • 2 comments

Hallo Pros,

i am currently working with enhancing image enhancement paper and algorithm and trying to implement that. In the process, we need to use MSeg-segmentation for real and rendered images/ datasets. i have like 50-60k images.

So the dependencies MSeg-api and MSeg_semantic were already installed. I tried the google collab first and then copying the commands, so i could run the script in my linux also. the command is like this: python -u mseg_semantic/tool/universal_demo.py
--config="default_config_360.yaml"
model_name mseg-3m
model_path mseg-3m.pth
input_file /home/luda1013/PfD/image/try_images

the weight i used, i downloaded it from the google collab, so the mseg-3m-1080.pth MSeg-log

but for me, it took like 10 minutes for 1 image and also what i get in temp_files is just the gray scale image of it. Could someone help me how i could solve this problem, thank you :)

luda1013 avatar Apr 19 '23 09:04 luda1013