fdet icon indicating copy to clipboard operation
fdet copied to clipboard

Mobilenet was not found at dropbox!?

Open bhralzz opened this issue 4 years ago • 7 comments

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

bhralzz avatar Oct 24 '20 05:10 bhralzz

Hi @bhralzz, I found the problem and I will fix it until tomorrow.

acnazarejr avatar Oct 29 '20 15:10 acnazarejr

@acnazarejr is this issue resloved? It still says file not found

vasu-dev avatar Nov 06 '20 10:11 vasu-dev

@acnazarejr having the same issue, would really appreciate any help! :)

cSchubes avatar Nov 29 '20 23:11 cSchubes

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!!

vineela008 avatar Dec 01 '20 05:12 vineela008

I am also facing the same issue, please fix this ASAP.

TanyaChutani avatar May 19 '21 09:05 TanyaChutani

It still says file not found at dropbox

nileshchilka1 avatar May 25 '21 11:05 nileshchilka1

Hi @acnazarejr , its still not able to find the file to download. Or alternatively could the model be put onto github? Appreciated.

w00dw0rm avatar May 25 '22 09:05 w00dw0rm