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

The ce_loss became negative when I was using the mask2former to do instance segmentation #5300

Open
AIzealotwu opened this issue Jun 3, 2024 · 4 comments

Comments

@AIzealotwu
Copy link

command you run:
python train_net.py --num-gpus 8 --config-file configs/coco/instance-segmentation/swi
n/maskformer2_swin_large_IN21k_384_bs16_100ep.yaml MODEL.WEIGHTS "weig
hts/model.pkl"

The data form used in my case is coco.
And the registration of this dataset was strictly followed with the document of our office

Copy link

github-actions bot commented Jun 3, 2024

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template.
The following information is missing: "Instructions To Reproduce the Issue and Full Logs"; "Your Environment";

@github-actions github-actions bot added the needs-more-info More info is needed to complete the issue label Jun 3, 2024
@Programmer-RD-AI
Copy link
Contributor

Hi,
To resolve the issue you are facing, it is usually a case in the training step..
Try and change the LR (learning rate) and adjust your training process and check if it fixes the issue.
Thank you

@AIzealotwu
Copy link
Author

Well, Thanks. Maybe this issue was caused by so large of my picture. The learning rate was followed with the default in the mask2former source paper.

@github-actions github-actions bot removed the needs-more-info More info is needed to complete the issue label Jun 12, 2024
@Programmer-RD-AI
Copy link
Contributor

Hi,
Glad you found it useful! :)
Try adjusting parameters related to image resolution, batch size, augmentation techniques, or even model architecture to fine-tune your instance segmentation setup.
If you need further guidance or have specific questions, feel free to ask!

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