You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from zcls.config import cfg
from zcls.model.recognizers.build import build_recognizer
cfg.merge_from_file(args.config_file)
model = build_recognizer(cfg, device=torch.device('cpu'))
$ python tools/model_fuse.py --help
usage: model_fuse.py [-h] [--verbose] CONFIG_FILE OUTPUT_DIR
Fuse block for ACBlock/RepVGGBLock/DBBlock
positional arguments:
CONFIG_FILE path to config file
OUTPUT_DIR path to output
optional arguments:
-h, --help show this help message and exit
--verbose Print Model Info
Other
Structural Parameterization is really a nice idea !!! By using ACBlock, I improved model precision in a Dataset that is more bigger than ImageNet, hope DBB can make better precision
Last, thanks you again
The text was updated successfully, but these errors were encountered:
hi @DingXiaoH , nice work !!! According to borrows your implementation, I'm has realized a plug-in version of DiverseBranchBlock
This plug-in version has the following advantages:
How to insert
Use Config FIle
see rd50_dbb_cifar100_224_e100_sgd_calr.yaml
build resnet50_d with DDB
Test
see test_dbblock.py
How to fuse
see model_fuse.py
Other
Structural Parameterization is really a nice idea !!! By using ACBlock, I improved model precision in a Dataset that is more bigger than ImageNet, hope DBB can make better precision
Last, thanks you again
The text was updated successfully, but these errors were encountered: