Skip to content

Conversation

@mtarng
Copy link
Collaborator

@mtarng mtarng commented Nov 16, 2018

No description provided.

self.y_min = y_min
self.y_max = y_max
self.classification_names = classification_names
self.image_height = image_height
Copy link
Collaborator

@andrebriggs andrebriggs Nov 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mtarng so this doesn't reflect the db table now? It seems like we have overloaded this class to fit multiple needs. What to clients of ImageTag enter for height and width when creating ImageTag objects?

logging.debug("Existing ImageTag found, appending classification {}", row[6])
tag_id_to_ImageTag[tag_id].classification_names.append(row[6].strip())
else:
logging.debug("No existing ImageTag found, creating new ImageTag: "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mtarng I would suggest putting this in a method

for row in cursor:
logging.debug(row)
classification_set.add(row[0])
logging.debug("Got back {} classifications existing in db.".format(len(classification_set)))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mtarng missing {0} ?

@andrebriggs andrebriggs added the question Further information is requested label Nov 16, 2018
@andrebriggs andrebriggs merged commit 1c0813a into CatalystCode:master Nov 19, 2018
bnookala pushed a commit to bnookala/active-learning-detect that referenced this pull request Dec 19, 2018
…ownload tagged image data for training. (CatalystCode#42)

* Getting tag queries back. Need to construct into data map, also eventually remove module getting hack and creds

* Have working list of imageTags returning now

* Download of existing tags working now. Unsure about filenames all being integers only though? Works currently but upload function needs to be checked

* Retreving existing tags in db

* scrubbing creds

* comment cleanup

* creating function to download tagged images and their data

* print -> logging

* feedback
abfleishman pushed a commit to abfleishman/active-learning-detect that referenced this pull request Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants