Skip to content

Commit

Permalink
FIX Update cifar_small_sample.py
Browse files Browse the repository at this point in the history
Fixed 
```
AttributeError: 'ScatteringNumPy2D' object has no attribute 'to'
```
kymatio by default imports numpy backend
  • Loading branch information
parthe authored Apr 24, 2024
1 parent a3c0f15 commit b8b1d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/2d/cifar_small_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import torch.optim
from torchvision import datasets, transforms
import torch.nn.functional as F
from kymatio import Scattering2D
from kymatio.torch import Scattering2D
import torch
import argparse
import kymatio.datasets as scattering_datasets
Expand Down

0 comments on commit b8b1d53

Please sign in to comment.