Skip to content

✨ Add week 07 materials #31

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

Merged
merged 3 commits into from
Feb 27, 2025
Merged

✨ Add week 07 materials #31

merged 3 commits into from
Feb 27, 2025

Conversation

Q-c7
Copy link
Collaborator

@Q-c7 Q-c7 commented Feb 27, 2025

No description provided.

@Q-c7 Q-c7 merged commit fcf9d5b into main Feb 27, 2025
@Q-c7 Q-c7 deleted the add-week-07 branch February 27, 2025 09:15

app = Flask(__name__, static_url_path="")

model = torch.jit.load(f'{os.path.dirname(os.path.abspath(__file__))}/vgg16.pt')
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Q-c7 ты только студентам не забудь тоже рассказать, что в тестах предполагается, что если сервер стартанул, то он готов отвечать на запросы
Каждый раз до они загружали модель в /predict и поэтому сосали пенис, ибо все просто по таймауту отваливалось

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