-
-
Save kagermanov27/21e2118941b9ea52ccf1cacbdd1b52e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def separate_unique_results(self): | |
f = open('datasets/previous_images.json') | |
previous_results = json.load(f) | |
self.previous_results = previous_results['previous'] | |
self.unique_results = list(set(self.results).difference(set(self.previous_results))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment