prabindh / euclid

Euclid object labeller for frictionless object detection training purposes in Machine learning frameworks (KITTI, YOLO)
45 stars 20 forks source link

incorrect string ends (CLRF instead of LF) #6

Open dpogosov opened 7 years ago

dpogosov commented 7 years ago

Data was labeled with Euclid. However darknet (your repo) said that images could not be opened. I changed CLRF to LF at the end of strings (every label) and now it works.

prabindh commented 7 years ago

Could you also share - if this is behaviour is on Linux, or on Windows ?

dpogosov commented 7 years ago

I checked only on Linux

prabindh commented 7 years ago

Could you pls check the latest now ?

dpogosov commented 7 years ago

I cannot do it within at least 2 days.

29.03.2017 10:48, Prabindh Sundareson пишет:

Could you pls check the latest now ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-290040020, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmYot2C9bMllgU_Y8QdIMIZ5DD4o1ks5rqijegaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

dpogosov commented 7 years ago

if I try to check the labelled images and use buttons 'next' or right arrow, it gives the error: Exception in Tkinter callback Traceback (most recent call last): File "d:\Users\Denis\Anaconda35\lib\tkinter__init.py", line 1550, in call__ return self.func(*args) File "euclid_old.py", line 528, in nextImage self.saveLabel() File "euclid_old.py", line 406, in saveLabel f.write('%s' %CLASSES[self.classLabelList[labelCnt]]) TypeError: list indices must be integers or slices, not str

Notes:

  1. Both old and new versions have such behaviour
  2. When I use window with the number of image and 'go' button it works
  3. Error appears only if labels ended with LF (CRLF - no error)
  4. Tested on Windows 10
prabindh commented 7 years ago

Is it possible that KITTI mode is being selected instead of YOLO ? This error should not occur if same mode is being used. The CRLF change was done only for Yolo.

dpogosov commented 7 years ago

I tried to tick yolo and kitty. The result is the same.

03.04.2017 11:10, Prabindh Sundareson пишет:

Is it possible that KITTI mode is being selected instead of YOLO ? This error should not occur if same mode is being used. The CRLF change was done only for Yolo.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291088764, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmfAdaXBn2-AEOW_OUTMWFsGsKOf6ks5rsLd1gaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

prabindh commented 7 years ago

What I mean is, the CRLF change was done only on the train.txt (list of images), not on Image-Label files (containing the coordinates).

dpogosov commented 7 years ago

The problem was with image-label files. I did not use train.txt from euclid.

03.04.2017 11:32, Prabindh Sundareson пишет:

What I mean is, the CRLF change was done only on the train.txt (list of images), not on Image-Label files (containing the coordinates).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291093613, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmZuq0mkpbv3jSg7nR5RlLCoumkGdks5rsLyxgaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

prabindh commented 7 years ago

Ok, this must be another issue. Could you share the offending file ?

dpogosov commented 7 years ago

Note, that some labels are ended with LF and dome with CRLF. I send you 3 files, at least one is 'wrong'.

03.04.2017 11:34, Prabindh Sundareson пишет:

Ok, this must be another issue. Could you share the offending file ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291094049, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmfFBru-4E3byY_PdS1OSZOjE_qQIks5rsL0fgaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

5 0.5187500 0.5000000 0.8875000 0.3750000

5 0.5226563 0.5720222 0.9140625 0.8282548

5 0.5132813 0.7244009 0.9421875 0.5163399

prabindh commented 7 years ago

You might have to upload the files somewhere and link otherwise gets inlined.... 

Sent from Yahoo Mail on Android

On Mon, Apr 3, 2017 at 3:24 PM, dpogosovnotifications@github.com wrote: Note, that some labels are ended with LF and dome with CRLF. I send you 3 files, at least one is 'wrong'.

03.04.2017 11:34, Prabindh Sundareson пишет:

Ok, this must be another issue. Could you share the offending file ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291094049, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmfFBru-4E3byY_PdS1OSZOjE_qQIks5rsL0fgaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

5 0.5187500 0.5000000 0.8875000 0.3750000

5 0.5226563 0.5720222 0.9140625 0.8282548

5 0.5132813 0.7244009 0.9421875 0.5163399

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub, or mute the thread.

dpogosov commented 7 years ago

Could you please check your email first?

03.04.2017 13:01, Prabindh Sundareson пишет:

You might have to upload the files somewhere and link otherwise gets inlined....

Sent from Yahoo Mail on Android

On Mon, Apr 3, 2017 at 3:24 PM, dpogosovnotifications@github.com wrote: Note, that some labels are ended with LF and dome with CRLF. I send you 3 files, at least one is 'wrong'.

03.04.2017 11:34, Prabindh Sundareson пишет:

Ok, this must be another issue. Could you share the offending file ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291094049, or mute the thread

https://github.com/notifications/unsubscribe-auth/AWUvmfFBru-4E3byY_PdS1OSZOjE_qQIks5rsL0fgaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

5 0.5187500 0.5000000 0.8875000 0.3750000

5 0.5226563 0.5720222 0.9140625 0.8282548

5 0.5132813 0.7244009 0.9421875 0.5163399

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prabindh/euclid/issues/6#issuecomment-291111709, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUvmYgtaHpZ_NczJtQxTgDxc8ixDn8Sks5rsNF0gaJpZM4Mstq_.

-- Kind Regards Denis Pogosov +31 (0)649-235-365 +7 9624-42-14-74 +7 9187-43-42-00

prabindh commented 7 years ago

Yes I did, do not have it, I just checked. Not in spam as well. Could you pls resend to prabindh.sundaresona t g m a i l c om address ?

prabindh commented 7 years ago

Could you resend the files ?

dpogosov commented 7 years ago

files.zip

mursalal commented 7 years ago

Hello! Can this tool convert dataset from Yolo format to Kitii?

prabindh commented 7 years ago

@mursalal You mean, there are a set of label files in Yolo format, that need to be converted to Kitti without doing any change ?

mursalal commented 7 years ago

@prabindh yes

prabindh commented 7 years ago

It cannot, but can be done with trivial modifications to the code. Please raise a separate issue.