-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying to use polarmask but there is no config for single gpu! #11
Comments
hi For example, if you want to test on single gpu or multi-gpu , you can try this # single-gpu testing
python tools/test.py ${CONFIG_FILE} ${CHECKPOINT_FILE} [--out ${RESULT_FILE}] [--eval ${EVAL_METRICS}] [--show]
# multi-gpu testing
./tools/dist_test.sh ${CONFIG_FILE} ${CHECKPOINT_FILE} ${GPU_NUM} [--out ${RESULT_FILE}] [--eval ${EVAL_METRICS}] |
thanks for the fast response, i already modified the config and downloaded the retrained model:
but i am trying to run the visualize jupyter notebook code, i get the following error: i verfied i can import mmdet, any help would be appreciated. |
@bat3a git pull and remake? |
@ZhongYingMatrix for what repo, mmcv, mmdet?! both are latest |
@bat3a The only potential problem is that I found I changed the name of convs in the later version, You can re-download the code and the trained model to test it again. I think you can successfully run demo in this way. |
@xieenze i have installed all the necessary libs and can run the demos in the mmdetection successfully, what should i do to register the polarmask with mmdet?! thanks in advance. |
@bat3a |
yes the code is up to date and i redownloaded the .pth file today. |
if it helps my folders arranged like this: also i use ubuntu 18.04, cuda 9.2. |
@xieenze can you tell me if i mmdetection should be installed? as per instructions, as there is an mmdet folder of the lib in the polarmask folder and i think it conflicts with the installation! |
@bat3a |
@bat3a |
@xieenze hi Enze, fabulous work! However, I met the same issue as @bat3a did when running the demo notebook. I know this project is built based on mmdetection, but the instruction for installing and configuration is a bit confusing indeed. I would suggest re-write an independent installing instruction just for polarmask. ModuleNotFoundError Traceback (most recent call last) ~/Projects/PolarMask/mmdet/apis/init.py in ~/Projects/PolarMask/mmdet/apis/inference.py in ~/Projects/PolarMask/mmdet/core/init.py in ~/Projects/PolarMask/mmdet/core/evaluation/init.py in ~/Projects/PolarMask/mmdet/core/evaluation/eval_hooks.py in ~/Projects/PolarMask/mmdet/datasets/init.py in ~/Projects/PolarMask/mmdet/datasets/cityscapes.py in ~/Projects/PolarMask/mmdet/datasets/coco_seg.py in ModuleNotFoundError: No module named 'Polygon'. Second, I would also like to ask "how can I retrain the model on single gpu?" many thanks |
i has same problem , Have you solved the problem now?expect your answer |
trying to use Polarmask but there is no config for single gpu! there is only for 4, 32 gpu in the config folder, is there away to test single gpu?
The text was updated successfully, but these errors were encountered: