-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
194cc0a
commit 8ef9213
Showing
62 changed files
with
40,548 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@set TOOL=evgencnn | ||
@set IMAGES=/local/one_image | ||
@set TOOLDIR=N:\git\cnn\tools\cnn_tools\evgencnn\scripts | ||
set show_classify=1 | ||
@set __SAVER=1 | ||
@set g_fixed_float=1 | ||
@set W=no_weight_file | ||
@set W=dummy_file | ||
@set W=caffe_model\resnet101_faster_rcnn_bn_scale_merged_end2end_iter_70000.caffemodel | ||
@set ROI_TRACE=1 | ||
@set RPN_POST_NMS_TOP_N=10 | ||
|
||
@call :doit 12 | ||
@goto exit | ||
@call :doit 8 | ||
@call :doit 7 | ||
@call :doit 9 | ||
@call :doit 10 | ||
@call :doit 11 | ||
|
||
:doit | ||
@set SZ=%1 | ||
@set WSZ=%1 | ||
python %TOOLDIR%/evgencnn ^ | ||
--caffe caffe_model/test.pt ^ | ||
--weights %W% ^ | ||
--images %IMAGES% ^ | ||
--name test ^ | ||
--wof bin --vof bin --name test ^ | ||
--fpsize %SZ% --fixed_dir fp.%SZ% --fpweight_size %WSZ% ^ | ||
--float_dir flt ^ | ||
--outdir . ^ | ||
--allow_unsupported_hardware ^ | ||
--ignore_unsupported_layers ^ | ||
--float_type float ^ | ||
--signed_blobs ^ | ||
-g host_float ^ | ||
-g host_fixed ^ | ||
--ibs 8 ^ | ||
--subgraph G1 proposal cls_score bbox_pred ^ | ||
--batch_iterate G1 iobj %RPN_POST_NMS_TOP_N% ^ | ||
--pixel_mean 102.9801,115.9465,122.7717 ^ | ||
%9 | ||
@goto :EOF | ||
|
||
@goto end | ||
-g host_fixed ^ | ||
-g host_float ^ | ||
--no_verify_blobs ^ | ||
:end | ||
|
||
:exit | ||
@find . -rmdir -s |
3 changes: 3 additions & 0 deletions
3
caffe_models/faster_rcnn_resnet101/caffe_model/VGG16_faster_rcnn_final.caffemodel
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The prototxt was taken from | ||
|
||
models/pascal_voc/ResNet101_BN_SCALE_Merged/faster_rcnn_end2end/test.prototxt | ||
and modified to allow reasonable generation of dummy weights. | ||
|
||
The repository from which this was taken is: | ||
|
||
https://github.com/Eniac-Xie/faster-rcnn-resnet | ||
~ |
Oops, something went wrong.