Skip to content
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

augmentor.applyAugmentation() error #8

Open
danielkovarik opened this issue Sep 3, 2019 · 7 comments
Open

augmentor.applyAugmentation() error #8

danielkovarik opened this issue Sep 3, 2019 · 7 comments

Comments

@danielkovarik
Copy link

Hi CLoDSA team,

I am trying to make work your colab notebook on my data and I am not able to make it work through augmentor.applyAugmentation()

`---------------------------------------------------------------------------
_RemoteTraceback Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/loky/process_executor.py", line 418, in _process_worker
r = call_item()
File "/usr/local/lib/python3.6/dist-packages/joblib/externals/loky/process_executor.py", line 272, in call
return self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/dist-packages/joblib/_parallel_backends.py", line 567, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/joblib/parallel.py", line 225, in call
for func, args, kwargs in self.items]
File "/usr/local/lib/python3.6/dist-packages/joblib/parallel.py", line 225, in
for func, args, kwargs in self.items]
File "/usr/local/lib/python3.6/dist-packages/clodsa/augmentors/cocoLinearInstanceSegmentationAugmentor.py", line 46, in readAndGenerateInstanceSegmentation
segmentation = [[x[0][0], x[0][1]] for x in cnts[0]]
IndexError: list index out of range
"""

The above exception was the direct cause of the following exception:

IndexError Traceback (most recent call last)
in ()
----> 1 augmentor.applyAugmentation()

5 frames
/usr/lib/python3.6/concurrent/futures/_base.py in __get_result(self)
382 def __get_result(self):
383 if self._exception:
--> 384 raise self._exception
385 else:
386 return self._result

IndexError: list index out of range`

Can you please direct me where is the problem?

@joheras
Copy link
Owner

joheras commented Sep 3, 2019

Hi,

which notebook are you using? Is it possible for you to send a extract of your dataset to try to reproduce the problem?

@joheras
Copy link
Owner

joheras commented Sep 3, 2019

I think that the problem was related to the issue raised in #7
I have updated a corrected version of Clodsa, you can install it using
pip install clodsa==1.2.34

Could you check if this solves your problem?

@danielkovarik
Copy link
Author

Hi,

thanks a lot for your quick response. The update really fixed the applyAugmentation() error. But unfortunately, the augmented images have annotations on the wrong place. Look at the image attached. It is the visualization from the colab notebook. (When I visualize the original dataset, annotations are placed correctly.)

clodsa

I use this notebook: https://colab.research.google.com/github/joheras/CLoDSA/blob/master/notebooks/CLODSA_Instance_Segmentation.ipynb

If you want to look at the original dataset I can send it to you in direct message if it it possible.

Thank you for your work!

Daniel

@joheras
Copy link
Owner

joheras commented Sep 4, 2019

Hi,

Could you send me the dataset (or part of it) to [email protected].

I will check the issue asap.
Best

@joheras
Copy link
Owner

joheras commented Sep 4, 2019

I have fixed the problem. Update the version of clodsa and check that it works properly now.
Thanks.
Jónathan

@engmubarak48
Copy link

Hi,

Is there any further progress on this bug, as I am still facing, thou I updated to the latest version.

@joheras
Copy link
Owner

joheras commented Sep 10, 2019

Hi,
the problem faced by danielkovarik was solved. I am still working on the bug that you reported on the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants