Giter Club home page Giter Club logo

swin-transuper's Introduction

Swin-TransUper

Swin-TransUper: Swin Transformer-based UperNet for Medical Image Segmentation

swin-transuper's People

Contributors

yucococs avatar

Stargazers

 avatar  avatar Alexander Jakob Dautel avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

swin-transuper's Issues

ModuleNotFoundError: No module named 'medpy'

I have imported the code from github and while running the code

!python /kaggle/working/Swin-TransUper/train.py

got error as

Traceback (most recent call last):
File "/kaggle/working/Swin-TransUper/train.py", line 10, in
from trainer import trainer_synapse,trainer_ISIC,trainer_busi,trainer_mix
File "/kaggle/working/Swin-TransUper/trainer.py", line 17, in
from utils import DiceLoss
File "/kaggle/working/Swin-TransUper/utils.py", line 3, in
from medpy import metric
ModuleNotFoundError: No module named 'medpy'

Error of size

Where to set it within the code ?
assert inputs.size() == target.size(), 'predict {} & target {} shape do not match'.format(inputs.size(), target.size())
AssertionError: predict torch.Size([8, 1, 224, 224]) & target torch.Size([8, 2, 224, 224]) shape do not match

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.