Closed Zhyixin closed 2 years ago
Traceback (most recent call last): File "train.py", line 9, in from srgan import SRGAN_g, SRGAN_d File "..\srgan.py", line 4, in from tensorlayerx.nn import Linear, MaxPool2d ImportError: cannot import name 'Linear' from 'tensorlayerx.nn'
How can I solve this problem?
I'm having the same issue too.
hello,please install tensorlayerx via source pip install git+https://github.com/tensorlayer/tensorlayerx.git @AIisCool @Zhyixin
pip install git+https://github.com/tensorlayer/tensorlayerx.git
Traceback (most recent call last): File "train.py", line 9, in
from srgan import SRGAN_g, SRGAN_d
File "..\srgan.py", line 4, in
from tensorlayerx.nn import Linear, MaxPool2d
ImportError: cannot import name 'Linear' from 'tensorlayerx.nn'
How can I solve this problem?