You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this issue as well. Looks like the authors are aware of the problems according to issues #60 and #47. I switched to the v0.2.0 branch and changed the first two cells to the following. Note the removal of ST. before Spectrogram, Normalize, and DescToBBoxSignalDict.
import numpy as np
from tqdm import tqdm
import matplotlib.pyplot as plt
from torch.utils.data import DataLoader
import torchsig
import torchsig.models
from torchsig.models.spectrogram_models import detr_b0_nano
import torchsig.transforms as ST
from torchsig.transforms.transforms import *
from torchsig.transforms.signal_processing.sp import *
from torchsig.transforms.expert_feature.eft import *
from torchsig.transforms.target_transforms.target_transforms import *
from torchsig.datasets.wideband_sig53 import WidebandSig53
Example notebook 03_example_widebandsig53_dataset give an error AttributeError: module 'torchsig.transforms.transforms' has no attribute 'Spectrogram'
The text was updated successfully, but these errors were encountered: