Closed drcege closed 5 years ago
There is no caffe argument in create_model function of ResNet10Feature.py. https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/models/ResNet10Feature.py#L4
caffe
create_model
ResNet10Feature.py
The parameter caffe in config is wrongly assigned to test argument, thus makes it always False.https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/config/ImageNet_LT/stage_1.py#L19-L20 https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/run_networks.py#L66-L70
test
False
There is no
caffe
argument increate_model
function ofResNet10Feature.py
. https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/models/ResNet10Feature.py#L4The parameter
caffe
in config is wrongly assigned totest
argument, thus makes it alwaysFalse
.https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/config/ImageNet_LT/stage_1.py#L19-L20 https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/fc74b0a11e4be8b05e99cac25582b540f3a2cada/run_networks.py#L66-L70