Code Monkey home page Code Monkey logo

efficientunet-pytorch's People

Contributors

zhoudaxia233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

efficientunet-pytorch's Issues

How to use it with Multi GPU

Thank you for your sharing!!! when I run with single GPU,it runs well, but when I run with multi GPU, it occur error
RuntimeError: Function CatBackward returned an invalid gradient at index 1 - expected device cuda:1 but got cuda:0
could you give some advice on this error?

4-th channel input

I want to give 4th channel input to the U-net but i am facing problem. Do you have any idea?

block parameter

Why is the channel number of the block parameter in unet [16,24,40,80] and why not [16,24,40,112]

Can we change last layer input from 32 to 64

i see that in size dict for every b series model the last item size is 32 which is an input to the last node of Unet part of every efficient net model. Can we change 32 to 64 ?

why fixed decoder channels

In your decoder, you fixed channels as 512-256-128....
However in general, the decoder channels should be the same as the encoder channels they concat with.

Since channels in efficientnetb0-b7 have big differences, I want to know why you fixed decoder channels. Is it proved to be better by some experiments?

multi gpu error

image

It's a strange error when i inference model efficientb5 unet with tensor with shape 43128800, seems torch.cat([x, blocks.popitem()[1]], dim=1) error, i print shape as upper image, but it shows only in some batchs, i'm sure input tensor shape is all same (batch3128800) anyone help?

Can't Pickle or Save resulting Models

Traceback (most recent call last): File "run.py", line 17, in <module> torch.save(model, 'model.pt') File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 224, in save return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 149, in _with_file_like return body(f) File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 224, in <lambda> return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 297, in _save pickler.dump(obj) AttributeError: Can't pickle local object 'EfficientNet.encoder.<locals>.Encoder'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.