szymonmaszke/torchlayers

AttributeError: module 'torchlayers' has no attribute 'Linear'

soulhi-vz opened this issue · 2 comments

Hi,
Got the error below:

AttributeError Traceback (most recent call last)
in
----> 1 print(Autoencoder())

in init(self)
8 nn.Conv1d(out_channels,in_channels,kernel_size),
9 nn.ReLU(True),
---> 10 torchlayers.Linear(2))

AttributeError: module 'torchlayers' has no attribute 'Linear'

image

torchlayers

Your Python version is 3.6, see #4 and #5 (Python 3.7 or greater is required). Removed bugged wheels for nightly version where Python 3.6 was allowed, thanks for the catch.

Thanks Szymon for the prompt answer !!