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

Migrate to PyTorch #117

Merged
merged 25 commits into from
Jan 31, 2023
Merged

Migrate to PyTorch #117

merged 25 commits into from
Jan 31, 2023

Conversation

mzur
Copy link
Member

@mzur mzur commented Jan 20, 2023

This implements the novelty detection in PyTorch and the object detection with MMDetection.

Resolves #96
Resolves #64

References #91 and #92 as the novelty detection now works with large images.

Maybe #28 and #73 cen be resolved here, too.


Upgrade information:

The MAIA_AVAILABLE_BYTES env variable was removed. Instead, the object detection training batch size can be set directly with MAIA_MMDET_TRAIN_BATCH_SIZE.

The COCO_MODEL_URL env variable was removed. Use MAIA_BACKBONE_MODEL_URL for the PyTorch backbone file and MAIA_MODEL_URL fir the MMDetection checkpoint file.

The training scheme is no longer configurable. Instead of iteration-based training (which still was called "epochs" before), training runs for a fixed number of 12 epochs now (which is the default training config for many MMdet object detectors and worked well in tests).

What's previously been called "instance segmentation" is now correctly called "object detection".

This produced a much better detector performance, possibly because
of more negative examples and objects not always being in the image
canter.
JpegCompression is deprecated.
@mzur mzur mentioned this pull request Jan 31, 2023
@mzur mzur marked this pull request as ready for review January 31, 2023 11:23
@mzur mzur merged commit bef0172 into master Jan 31, 2023
@mzur mzur deleted the mmdet branch January 31, 2023 13:22
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

Successfully merging this pull request may close these issues.

Framework change to mmdet Fix novelty detection memory adjustment
1 participant