mirror of
https://github.com/JDAI-CV/fast-reid.git
synced 2025-06-03 14:50:47 +08:00
fix convert caffe model problem
This commit is contained in:
parent
12ee19d6ed
commit
94d85fe11c
@ -48,7 +48,7 @@ class Baseline(nn.Module):
|
||||
pred_feat = self.inference(batched_inputs)
|
||||
try:
|
||||
return pred_feat, batched_inputs["targets"], batched_inputs["camid"]
|
||||
except KeyError:
|
||||
except Exception:
|
||||
return pred_feat
|
||||
|
||||
images = self.preprocess_image(batched_inputs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user