Skip to content
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

How to reproduce #4

Open
lfgogogo opened this issue Jun 27, 2023 · 4 comments
Open

How to reproduce #4

lfgogogo opened this issue Jun 27, 2023 · 4 comments

Comments

@lfgogogo
Copy link

Hi,thank you for your brilliant work.May i ask how to reproduce the log here using the open source models ? Looking forward to your reply.

@heshuting555
Copy link
Owner

Go to the README and find and follow the section "Training".
using the command:
CUDA_VISIBLE_DEVICES=0 python train_net.py --config-file configs/{}-segmentation/PADing.yaml --num-gpus 1 MODEL.WEIGHTS pretrained_weight_{}.pth {} can be semantic,instance and panoptic.

I hope it is helpful to you!

@lfgogogo
Copy link
Author

Thanks,i tried,but i got a warning :Some model parameters or buffers are not found in the checkpoint,
then a error:RuntimeError: CUDA error: device-side assert triggered,it seems the model weight does not match with the config file ,and the command was CUDA_VISIBLE_DEVICES=0 python train_net.py --config-file configs/semantic-segmentation/PADing.yaml --num-gpus 1 MODEL.WEIGHTS pretrained_weight_semantic.pth.By the way,i ran the inference command which works fine.

@lfgogogo
Copy link
Author

Sorry to bother,one more question,how can i visualize the results in the json?I just print the segmentation,i get something like this:
image
What does it mean?

@heshuting555
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants