-
Notifications
You must be signed in to change notification settings - Fork 9
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
get_dataloaders #4
Comments
from ellipse_rcnn.utils.data import get_dataloaders there is no such thing as 'get_dataloaders' in ellipse_rcnn.utils.data... |
Hi, I don't have much time besides work. This is ofcourse a glaring omission but happened because I worked with a dataset I could not publish. However, I'm currently (from time to time) working on the |
thanks ! I can't wait ! |
@fredO13 You can try out training if you checkout the |
I'll do it and let you know if it works. Thanks |
Hi @wdoppenberg,
|
@fredO13 Ah that might be because of the new type annotation syntax in Python 3.10. You can solve this by either removing the type annotation for now, or by upgrading your env to 3.10 or above |
Sorry, I didn’t understand this.
From: shree-exofield ***@***.***>
Sent: mercredi 15 mars 2023 10:27
To: wdoppenberg/ellipse-rcnn ***@***.***>
Cc: Omnes, Frederic ***@***.***>; Mention ***@***.***>
Subject: Re: [wdoppenberg/ellipse-rcnn] get_dataloaders (Issue #4)
***External email warning: This email originated outside the company. Please do not click links or open attachments unless you were expecting this communication.***
I found this function in data.py file in older commits, that may be useful to you if you are still working.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/wdoppenberg/ellipse-rcnn/issues/4*issuecomment-1469651564__;Iw!!AB_04_y_3-SRqw!8iBeeAoOJf_cY0vqNVQkN9SSg6Hws4mtexmQHK910su4yOFoO9wp8WPT6M34iZReQNojDA-SvCGVumClyYPUHKOsB1IqaUHyzQ$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMGBSBCJCAHXQMOQIDK6AKLW4GDNJANCNFSM6AAAAAASI4ZKQY__;!!AB_04_y_3-SRqw!8iBeeAoOJf_cY0vqNVQkN9SSg6Hws4mtexmQHK910su4yOFoO9wp8WPT6M34iZReQNojDA-SvCGVumClyYPUHKOsB1L6NVg8Pg$>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
With reference to your older comment on 15 Feb 2022 you were unable to
find *get_dataloaders* function, I was pointing out that you will have
that function in data.py from this repo in older commits by the main author.
That function is useful to get your data loaded and further used for
training.
Thank you.
…On Fri, 17 Mar 2023 at 21:13, fredO13 ***@***.***> wrote:
Sorry, I didn’t understand this.
From: shree-exofield ***@***.***>
Sent: mercredi 15 mars 2023 10:27
To: wdoppenberg/ellipse-rcnn ***@***.***>
Cc: Omnes, Frederic ***@***.***>; Mention ***@***.***>
Subject: Re: [wdoppenberg/ellipse-rcnn] get_dataloaders (Issue #4)
***External email warning: This email originated outside the company.
Please do not click links or open attachments unless you were expecting
this communication.***
I found this function in data.py file in older commits, that may be useful
to you if you are still working.
—
Reply to this email directly, view it on GitHub<
https://urldefense.com/v3/__https:/github.com/wdoppenberg/ellipse-rcnn/issues/4*issuecomment-1469651564__;Iw!!AB_04_y_3-SRqw!8iBeeAoOJf_cY0vqNVQkN9SSg6Hws4mtexmQHK910su4yOFoO9wp8WPT6M34iZReQNojDA-SvCGVumClyYPUHKOsB1IqaUHyzQ$>,
or unsubscribe<
https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMGBSBCJCAHXQMOQIDK6AKLW4GDNJANCNFSM6AAAAAASI4ZKQY__;!!AB_04_y_3-SRqw!8iBeeAoOJf_cY0vqNVQkN9SSg6Hws4mtexmQHK910su4yOFoO9wp8WPT6M34iZReQNojDA-SvCGVumClyYPUHKOsB1L6NVg8Pg$>.
You are receiving this because you were mentioned.Message ID:
***@***.******@***.***>>
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A43ZSJ2QOKA7DA7BDS6JP7TW4SBCPANCNFSM6AAAAAASI4ZKQY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi. I finally managed to have the training work on the FDDB dataset which is fine for me. Now I'd like to know, as in issue #1 how I could test it ? I also wonder if there could be an issue with the loss_ellipse not decreasing as stated in issue #5 (see bellow) : Using 16bit native Automatic Mixed Precision (AMP) | Name | Type | Params0 | model | EllipseRCNN | 55.2 M55.2 M Trainable params thanks |
you can save the model in .pth format with the help of .ckpt checkpoints generated while training and use it further to test on test-images. Refer this file to save your model (https://github.com/wdoppenberg/crater-detection/blob/main/src/detection/save_run.py). Refer this while testing (https://github.com/wdoppenberg/crater-detection/blob/main/src/detection/evaluate.py).Require little modifications to plot the detection on the images from dataset. |
Does loss is fluctuating for you and able to have convergence ? |
This seems to be working for the ckpt to pth conversion part : model = EllipseRCNN() |
Epoch 0: 0%| | 1/2845 [00:12<10:02:08, 12.70s/it, loss=3.66, v_num=2, loss_classifier=1.350, loss_box_reg=0.0012, loss_ellipse=1.570, loss_objectness=0.732, loss_rpn_box_reg=0.00621, total_loss=3.660] total_loss is moving up and down, I guess loss_ellipse is doing so... |
This is the same behaviour I see. What probably needs to happen is that the loss function for the ellipse prediction <-> target loss is either fixed or replaced. Something like Wasserstein distance could be considered. Unfortunately I don't have time in the coming month, so feel free to give this a go. I will try to assist as much as I can. |
I tried to change the ellipse loss function to "kullback-leibler", the loss remains at 1 at every iterration, but this is because the displacement term is infinite ! |
for this loss, it seems displacement_term is infinite because it overflows fp16. |
Do you getting the proper detection of only the boxes from faster_rcnn part ? for my case the other losses are getting very small but the saved trained model won't show the detection of boxes properly on the image. My intention is to get at least get those boxes correct at the initial phase, then look for the ellipse_loss . how the FASTER-RCNN can be trained first ? and other thing to be noted when I am NOT using the ellipse_loss it shows less fluctuation in the other losses comparatively.
|
all boxes are empty |
what you mean by that ?
|
Hello, I have this error when downloading this project, it should be a blogger capacity problem, I hope you can pass me this h5 file with the consent of the blogger fetch: Fetching reference refs/heads/main Thanks! |
cannot load get_dataloaders
The text was updated successfully, but these errors were encountered: