Skip to content

Commit ad8b107

Browse files
committed
refactoring 1
1 parent 14802d6 commit ad8b107

23 files changed

+904
-1146
lines changed

DETR_py/inference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def main():
141141
if half:
142142
model.half() # to FP16
143143
model.eval()
144-
144+
gen_wts(model, 'detr')
145145
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
146146
im = Image.open(requests.get(url, stream=True).raw)
147147

0 commit comments

Comments
 (0)