Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'out_size' #43

Closed
achintacsgit opened this issue Feb 20, 2019 · 1 comment
Closed

Comments

@achintacsgit
Copy link

  • After conv: Tensor("u_net/conv8/leaky_relu:0", shape=(5, 1, 1, 512), dtype=float32, device=/device:CPU:0)
    Traceback (most re
    screenshot from 2019-02-19 18-02-42
    cent call last):
    File "train.py", line 250, in
    main(args.task)
    File "train.py", line 121, in main
    net = model.u_net_bn(t_image, is_train=True, reuse=False, n_out=1)
    File "/home/achi/project/u-net-brain-tumor-master/model.py", line 179, in u_net_bn
    padding=pad, act=None, batch_size=batch_size, W_init=w_init, b_init=b_init, name='deconv7')
    File "/home/achi/anaconda3/lib/python3.6/site-packages/tensorlayer/decorators/deprecated_alias.py", line 24, in wrapper
    return f(*args, **kwargs)
    TypeError: init() got an unexpected keyword argument 'out_size'
@achintacsgit
Copy link
Author

i got the solution
just downgrade tensorlayer to 1.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant