Im training my custom-dataset using COLAB Notebook ,
Refered to FAQ
unable to run the below command
!python keras-retinanet/setup.py build_ext --inplace
running build_ext
cythoning keras_retinanet/utils/compute_overlap.pyx to keras_retinanet/utils/compute_overlap.c
error: /content/keras_retinanet/utils/compute_overlap.pyx
However I have uploaded compute_overlap.c file from my local system , but when I run the file train.py with the specified path it gives this error below
Using TensorFlow backend.
Traceback (most recent call last):
File "keras-retinanet/keras_retinanet/bin/train.py", line 35, in
from .. import layers # noqa: F401
File "keras-retinanet/keras_retinanet/bin/../../keras_retinanet/layers/__init__.py", line 1, in
from ._misc import RegressBoxes, UpsampleLike, Anchors, ClipBoxes # noqa: F401
File "keras-retinanet/keras_retinanet/bin/../../keras_retinanet/layers/_misc.py", line 19, in
from ..utils import anchors as utils_anchors
File "keras-retinanet/keras_retinanet/bin/../../keras_retinanet/utils/anchors.py", line 20, in
from ..utils.compute_overlap import compute_overlap
ModuleNotFoundError: No module named 'keras_retinanet.utils.compute_overlap'
This error is handled in the FAQ.
I misread the first part, seems you can't build the extension. Do you have a longer error than this? It's not saying what is going wrong.
No there are no much details about this error..
On 11 Dec 2018 7:20 p.m., "Hans Gaiser" notifications@github.com wrote:
I misread the first part, seems you can't build the extension. Do you have
a longer error than this, it's not saying what is going wrong.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fizyr/keras-retinanet/issues/835#issuecomment-446208777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AomJiA0e6HHo9gPmAdNnnWdRXyBM3rP3ks5u37gzgaJpZM4ZNa2j
.
Kindly suggest an other alternative for this problem
On 11 Dec 2018 7:22 p.m., "duhitha shety" duhithashety@gmail.com wrote:
No there are no much details about this error..
On 11 Dec 2018 7:20 p.m., "Hans Gaiser" notifications@github.com wrote:I misread the first part, seems you can't build the extension. Do you
have a longer error than this, it's not saying what is going wrong.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fizyr/keras-retinanet/issues/835#issuecomment-446208777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AomJiA0e6HHo9gPmAdNnnWdRXyBM3rP3ks5u37gzgaJpZM4ZNa2j
.
Could you share a screenshot of your terminal when trying to compile this extension ?
apologies for the delay ,
PFA as requested
As in the i marked the compute_overlap.c file
On Tue, Dec 11, 2018 at 7:30 PM Hans Gaiser notifications@github.com
wrote:
Could you share a screenshot of your terminal when trying to compile this
extension ?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fizyr/keras-retinanet/issues/835#issuecomment-446211928,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AomJiF4lTUsJGki5Dqo7AtscUfwJncBrks5u37p7gaJpZM4ZNa2j
.
?
I'm not seeing anything.
I have shared a png format
I would resend you again
On Tue, Dec 11, 2018 at 8:21 PM Hans Gaiser notifications@github.com
wrote:
?
I'm not seeing anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fizyr/keras-retinanet/issues/835#issuecomment-446229346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AomJiIxF6RORODVinRSEyW7S_w4jrg20ks5u38ZkgaJpZM4ZNa2j
.
I think you're sending it as an attachment, but that doesn't seem to work.
Hope you would be able to view now

Sounds like it could be an issue related to colab. Could you try on your own system to see if the extension can be built there.
Yes i have , It worked and hence I was able to create compute_overlap.c as i have marked
Is that the version you uploaded to colab? Depending on your system libraries that might not work properly. Could you try it on a clean clone of keras-retinanet?
I was able to run my custom dataset using keras-retinanet in my local system , I worked fine ,
Im trying to implement the same in colab ,
However I have tried thrice with a clean clone of keras-retinanet
unfornately I was unable to find a way to build the extension in colab
You can try to use the python version of the cython code, then you don't need the extensions:
https://github.com/fizyr/keras-retinanet/blob/0.3.1/keras_retinanet/utils/anchors.py#L232-L256

kindly check above , it uses the python version ,
kindly guide me if im wrong
You're now doing custom stuff, it's more difficult to support that. By the looks of it you're still trying to import the compute_overlap module, but I'm guessing you just added it to the anchors.py? You don't need to import compute_overlap then..
Thank you hgaiser for you time and assistance
I was able to build the extension , by navigating to the folder keras-retinanet ,
earlier I was executing it with the absolute path, but now I executed in the current folder having setup.py


I have this error :(
You can't pass a link as csv file, it needs to be a file...
I did it like duhithas

and i have this waning when i did "pip install . --user" command in ubuntu and in colab too.
kindly run this command before you could run pip install . --user
!cd keras-retinanet && pip install . --user
On Fri, Dec 14, 2018 at 6:56 PM nosa999 notifications@github.com wrote:
[image: image]
https://user-images.githubusercontent.com/40929193/50005844-03a95480-ffc1-11e8-98f6-073af848d8fd.png
and i have this waning when i did "pip install . --user" command in ubuntu
and in colab too.—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/fizyr/keras-retinanet/issues/835#issuecomment-447324997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AomJiAJvwiwr_rJKgQPJz3h5xuzhELG6ks5u46cIgaJpZM4ZNa2j
.
Most helpful comment
Thank you hgaiser for you time and assistance
I was able to build the extension , by navigating to the folder keras-retinanet ,
earlier I was executing it with the absolute path, but now I executed in the current folder having setup.py