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

Failed initialize the object #8

Open
frothmoon opened this issue Apr 9, 2020 · 1 comment
Open

Failed initialize the object #8

frothmoon opened this issue Apr 9, 2020 · 1 comment

Comments

@frothmoon
Copy link

I successfully installed libsvm and pybrisque ,but I cannot initialize the BRISQUE.

$ python
Python 3.5.5 |Anaconda, Inc.| (default, May 13 2018, 21:12:35) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybirsque
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'pybirsque'
>>> import pybrisque
>>> brisq = BRISQUE()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'BRISQUE' is not defined
>>> brisq = pybrisque.BRISQUE()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pybrisque' has no attribute 'BRISQUE'
>>> 

Are there anything wrong with using the implement?

Thank you for your help!

@adzil
Copy link

adzil commented Apr 14, 2020

You should import brisque instead of pybrisque.

from brisque import BRISQUE

brisq = BRISQUE()

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

2 participants