Comments (5)
Hi,
To enable saving the best_segm_mAP.pth, basically, I think you need to make following changes:
swa_load_from = 'best_bbox_mAP.pth'
-> swa_load_from = 'best_segm_mAP.pth'
if cfg.swa_load_from == 'best_bbox_mAP.pth':
->
if cfg.swa_load_from == 'best_bbox_mAP.pth' or cfg.swa_load_from == 'best_segm_mAP.pth':
eval_hook(val_dataloader, save_best='bbox_mAP', **eval_cfg))
-> eval_hook(val_dataloader, save_best='segm_mAP', **eval_cfg))
val_dataloader, save_best='bbox_mAP', **eval_cfg)
-> val_dataloader, save_best='segm_mAP', **eval_cfg)
from swa_object_detection.
Yess, it works. Thanks again!
from swa_object_detection.
Sorry but i would like to ask again, if swa support the cascade mask rcnn, ms rcnn or htc?
from swa_object_detection.
Hi, although I did not test SWA with those detectors you mentioned, I think SWA training should work with them. Please see the instructions about how to apply SWA training to them.
from swa_object_detection.
cool thanks a lot!!
from swa_object_detection.
Related Issues (18)
- Are there any comparisons on other parameters? such as mAP.5,mAP.75 and etc. HOT 1
- problem in get_swa_model.py HOT 1
- how to use of swa repo correctly HOT 6
- when i run only_swa_training i meet a error HOT 1
- Performance with other optimizer, such as Adam, AdamW HOT 4
- When I run Two-pahse mode I met error
- what's the difference between swa_epoch_xx.pth and swa_model_xx.pth? HOT 2
- swa_model_12.pth和swa_epoch_12.pth有什么区别吗? HOT 1
- where is the circycle loss?
- 代码运用到自己的模型 HOT 5
- 理解问题 HOT 1
- Can I use dist_train.sh to train the original model? HOT 2
- question about BN fronze HOT 1
- Why setting step_up_ratio=0.0? HOT 1
- compare traditional training result with swa result at same epoch level HOT 3
- 可以使用VOC数据集做SWA训练吗 HOT 2
- ModuleNotFoundError: No module named 'mmdet' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swa_object_detection.