**Note:** Training code not included / Tested on RTX3090 + PyTorch1.7.1 / Results from converted weights slightly different due to the [bilinear upsample issue](https://github.com/pytorch/pytorch/issues/10604)
**Note:** Training code not included / Results from converted weights slightly different due to the [bilinear upsample issue](https://github.com/pytorch/pytorch/issues/10604)
...
...
@@ -105,7 +105,7 @@ out = model(img_tensor)
You can load with various configs (more details in [the torch docs](https://pytorch.org/docs/stable/hub.html)):
```python
model=torch.hub.load(
"bryandlee/animegan2-pytorch",
"bryandlee/animegan2-pytorch:main",
"generator",
pretrained=True,# or give URL to a pretrained model
device="cuda",# or "cpu" if you don't have a GPU
...
...
@@ -115,10 +115,10 @@ model = torch.hub.load(
Currently, the following `pretrained` shorthands are available: