-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about the FPS of RITnet #11
Comments
Hello, qjiewang!
I’m not really able to answer your question myself, but I have forwarded it to the corresponding authors of that manuscript.
I don’t think it was a typo, because we did have it running in real time on a Pupil Labs mobile unit at one point. I believe they Are 120 Hz per eye, that we had it running at 240 Hz at that time. I could be wrong, because the temporal frame rate can be adjusted a bit in the pupil labs system.
Anyhow, both of the original corresponding authors have since moved on from the lab, and so it may be a little bit before they get back to us. In any case, thanks for reaching out.
…________________________________
From: QJieWang ***@***.***>
Sent: Saturday, April 15, 2023 6:19 AM
To: AayushKrChaudhary/RITnet ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [AayushKrChaudhary/RITnet] Question about the FPS of RITnet (Issue #11)
Actually, there is a third-party speed test for RITnet. In "Semantic Segmentation of the Eye With a Lightweight Deep Network and Shape Correction," it was mentioned that they tested RITnet on a 1080ti with 1440 images, which took 22.75 seconds, roughly equivalent to around 63.3 FPS. Therefore, I'm very curious about how the segmentation speed of 301 Hz mentioned in the paper was achieved. Was the model compressed or quantized? Or, perhaps, was the batch size mistakenly included when calculating FPS?
[image]<https://user-images.githubusercontent.com/41409166/232207975-64de0372-8f9d-4758-900e-15c4d2fcaf9f.png>
—
Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACEL7W4YTH7LBGZFZ4L3LMLXBJYZDANCNFSM6AAAAAAW7GUN64>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hello @gabrielDiaz-performlab , @QJieWang , I did respond to @QJieWang via email but it seems you weren't CC'ed in his original email. Please see my response as below.
|
The code looks good. The forward pass is 300 fps and it was tested multiple times. I have couple of suggestions.
Regardless, the time was computed in similar fashion as you did except the number of iterations were large. Regarding comparison in the other papers, the test were mostly complete image reading, image preprocessing and the forward pass which drops the speed to around 60 fps. The code is in python and the speed can be improved using C++ and using half the resolution. |
@QJieWang Your approach towards computing FPS seems correct. I personally wouldn't be opposed if you reported RITnet FPS performance using the above mentioned approach. We will conduct another round of verification on our end at a later date and provide an updated RITnet FPS update on GIThub (especially regarding the batchsize). Since the FPS does not change our message, academic contributions or core concept, we still stand by RITnet's evaluation. We hope this unblocks you / your analysis. |
Thank you very much, RITnet is an excellent work. I apologize for bothering you. |
Hello, I have some questions about the speed of RITnet. The paper reported a speed of 301HZ on a 1080ti, but when I tested it on a 3090, the highest speed I achieved was only 191FPS.
I am very curious about this huge difference. Is the speed of 301FPS the result of further model compression? Here is the code I used to calculate the FPS.
The text was updated successfully, but these errors were encountered: