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

add Docker Container example #94

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

JanRiedelsheimer
Copy link
Contributor

No description provided.


# Import your model here
from sample_submission import MySimpleScanpathModel

app = Flask("saliency-model-server")
app.json_provider = OrjsonProvider(app)
Copy link
Owner

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

Copy link
Owner

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
Copy link
Owner

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

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

Successfully merging this pull request may close these issues.

2 participants