fdet
fdet copied to clipboard
Mobilenet was not found at dropbox!?
testing below: import cv2 from fdet import io, RetinaFace BATCH_SIZE = 1000 detector = RetinaFace(backbone='MOBILENET', cuda_devices=[0,1,2,3]) vid_cap = cv2.VideoCapture('13.mp4') video_face_detections = [] # list to store all video face detections image_buffer = [] # buffer to store the batch
while True:
success, frame = vid_cap.read() # read the frame from video capture
if not success:
break # end of video
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) # convert to RGB
image_buffer.append(frame) # add frame to buffer
if len(image_buffer) == BATCH_SIZE: # if buffer is full, detect the batch
batch_detections = detector.batch_detect(image_buffer)
video_face_detections.extend(batch_detections)
image_buffer.clear() # clear the buffer
if image_buffer: # checks if images remain in the buffer and detect it batch_detections = detector.batch_detect(image_buffer) video_face_detections.extend(batch_detections)
generate the result:
Downloading: "https://www.dropbox.com/s/kr1xjmzry4l8p6g/retinaface_mobilenetv1_final.pt?dl=1" to C:\Users\DFMRendering/.cache\torch\checkpoints\retinaface_mobilenetv1_final.pt
raise HTTPError(req.full_url, code, msg, hdrs, fp)
HTTPError: Not Found
Hi @bhralzz, I found the problem and I will fix it until tomorrow.
@acnazarejr is this issue resloved? It still says file not found
@acnazarejr having the same issue, would really appreciate any help! :)
Hi @bhralzz, I found the problem and I will fix it until tomorrow.
@acnazarejr it's still showing the same error, please fix the issue!!
I am also facing the same issue, please fix this ASAP.
It still says file not found at dropbox
Hi @acnazarejr , its still not able to find the file to download. Or alternatively could the model be put onto github? Appreciated.