Can I integrate PyTorch with Django Web framework?

Hello so I'm looking to create some games on a website using Django. I would like to have some machine learning with the games so that the players can play against a machine learning model. Is this possible with the combination of Django and PyTorch? I heard about something called ONNX that helps serves model into the frontend and I just wanted to double check that works with Django and not exclusively with NodeJS. If it doesn't work then I'd appreciate any alternative solutions.

Thanks for any insight

Вернуться на верх