Closed goingtosleep closed 4 years ago
@goingtosleep Unfortunately that is not possible as torchlayers
relies on PEP 562 (module-wide __getattr__
which is essential for this project, see torchlayers.__init__
).
This feature is available on versions higher than 3.7
and I don't see a clear workaround for Python 3.6
although I'm open for eventual pull requests resolving this issue.
Closing for now, will update if anything changes (or if colab
finally supports Python 3.7
).
torchlayers
is currently not usable onPython 3.6
, specificallyPython 3.6.9
on Google Colab. Installing from github repo gave me this:Using
pip install torchlayers
, I gottorchlayers 0.1.0
but there are noConv
orDense
or evenReLU
intorchlayers
imported module.Btw, thank you for the brilliant library.