Skip to content

Object detection models for Diablo II: Resurrected

License

Notifications You must be signed in to change notification settings

jhilgar/d2torch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d2torch

This small project provides a foundation on which to build object detection models in Diablo II: Resurrected. It uses PyTorch as a backend; the current model uses FasterRCNN with a mobilenet_v2 backbone. The animation shown depicts the model performance after 10 epochs of training which required ca. 5 minutes of training time (NVIDIA GTX 1080 Ti).

Setup

d2torch is written in Python. We prefer to use Anaconda (specifically miniconda) for managing the build environment. You will also need:

From the cloned repository:

conda env create -f environment.yml
conda activate d2torch
python .\src\train.py

With Diablo II: Resurrected running (in windowed mode):

python .\src\infer.py

About

Object detection models for Diablo II: Resurrected

Resources

License

Stars

Watchers

Forks

Languages