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

Many of the algorithms present in pybgs raise an exception when invoked on Google Colab #221

Open
ghost opened this issue Mar 21, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 21, 2023

Describe the bug
Many of the algorithms raise an exception when invoked. I have commented such algorithms in the code attached.
The error for one of these algorithms is pasted below:

OpenCV Version: 3.4.15
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-7-a2ee577a945b>](https://localhost:8080/#) in <module>
     41 algorithms.append(bgs.ViBe())
     42 algorithms.append(bgs.CodeBook())
---> 43 algorithms.append(bgs.FuzzySugenoIntegral())
     44 #algorithms.append(bgs.FuzzyChoquetIntegral())
     45 #algorithms.append(bgs.LBSimpleGaussian())

AttributeError: module 'pybgs' has no attribute 'FuzzySugenoIntegral'

To Reproduce
I have attached a publicly accessible Google Colab notebook that reproduces the error. Google Colab Notebook

Expected behavior
Algorithms mentioned in the demo2.py should run without exception. demo2.py

Screenshots
If applicable, add screenshots to help explain your problem.

System information

Desktop (please complete the following information):----> Google Colab Environment

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04)-----> "Ubuntu 20.04.5 LTS":
  • Python version (for issues related to the python wrapper)----->Python 3.9.16:
  • Java version (for issues related to the java wrapper):------> NA:
  • MATLAB version (for issues related to the matlab wrapper):------>NA:

Additional context
Add any other context about the problem here.

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

0 participants