-
Notifications
You must be signed in to change notification settings - Fork 48
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 Docker Container example #94
base: dev
Are you sure you want to change the base?
Conversation
|
||
# Import your model here | ||
from sample_submission import MySimpleScanpathModel | ||
|
||
app = Flask("saliency-model-server") | ||
app.json_provider = OrjsonProvider(app) |
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.
Are we even using the OrjsonProvider? I guess not, since we're manually calling orjson. In this case i would remove the dependency. Alternatively, you can try to keep it, use jsonify
and set the config option to prevent pretty printing
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.
This file is not being used at all, right?
for stimulus in tqdm(stimuli): | ||
stimulus.stimulus_data | ||
|
||
# filter for scanpaths with 3 < fixations for deepgaze3 |
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.
check Examples.ipynb
in the deepgaze repo for how to handle earlier fixations
No description provided.