-
Notifications
You must be signed in to change notification settings - Fork 211
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
add query script, update usage #9
base: master
Are you sure you want to change the base?
Conversation
allow users to quickly query images using selected method and pylint-related stuff
Hi, I want to test this PR. Like
|
I haven't implemented that yet, am currently working on other parts of my project. |
from skimage import color | ||
from skimage.feature import hog | ||
|
||
from src.DB import Database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from src.DB import Database | |
from DB import Database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you do that, DB
will be unable to import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It threw this error
$ python3 src/resnet.py
Traceback (most recent call last):
File "src/resnet.py", line 14, in <module>
from src.DB import Database
ModuleNotFoundError: No module named 'src'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, i have made py files under src
submodules of src
, thus we have to call them via src.module
, outside src
directory
Sure, it will make this project really useful. |
hello,Have you implemanted this part? such as "--search new-image" |
@jiaweichuang |
@jiaweichuang push the code if you still have in the repo. I can take it from there |
query.py
allows users to perform image retrieval using selected algorithmUSAGE.md
has been updated to give users instructions on image querying