MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / convert

Function convert

tools/model_converters/upgrade_model_version.py:115–193  ·  view source on GitHub ↗

Convert keys in checkpoints. There can be some breaking changes during the development of mmdetection, and this tool is used for upgrading checkpoints trained with old versions to the latest one.

(in_file, out_file, num_classes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 7

is_headFunction · 0.85
reorder_cls_channelFunction · 0.85
truncate_reg_channelFunction · 0.85
truncate_cls_channelFunction · 0.85
popMethod · 0.80
itemsMethod · 0.80
parse_configFunction · 0.70

Tested by

no test coverage detected