Skip to content

This is used to convert intelcaffe weight file to be compatible with bvlc caffe

Notifications You must be signed in to change notification settings

ftian1/intelcaffe_weight_to_bvlc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

intelcaffe_weight_to_bvlc

This is used to convert intelcaffe weight file to be compatible with bvlc caffe

steps:

  1. dump weight binary from intelcaffe

    • python dump.py -r /path/to/intelcaffe/root -p /path/to/train/prototxt -w /path/to/weight -o /path/to/dump/output
  2. save weight to the one being compatible with bvlc caffe

    • python save.py -r /path/to/bvlccaffe/root -p /path/to/inference/prototxt -w /path/to/dump/output -o /path/to/final/bvlc/weight

NOTE:

  1. The prototxt used in dump phase should be the one used to train in IntelCaffe. The prototxt used in save phase should be the one used to inference in BVLC Caffe.
  2. User have to mannually remove those unsupported fields from prototxt in BVLC, such as bn_stats_batch_size and batch_norm_param.filler fields.

About

This is used to convert intelcaffe weight file to be compatible with bvlc caffe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages