Giter VIP home page Giter VIP logo

deeplabv3's People

Contributors

erjanmx avatar fregu856 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deeplabv3's Issues

What does the OS stand for in the model name?

Hi

I have a question about the models. In the name you specify which ResNet you are using (how many layers) but also "OS_X". Looking at the code it seems to me it has to do with the number of skip-connection blocks. Is that correct?

Thank you very much!

size mismatch for aspp when loading pre-trained model

Hi!

Very nice repo! I'm currently trying to integrate your model into our framework (https://github.com/DIVA-DIA/DeepDIVA, feel free to check it out!). However, when I load the provided weights for deeplabv3 I get the following error:

	size mismatch for aspp.conv_1x1_4.weight: copying a param with shape torch.Size([20, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([8, 256, 1, 1]).
	size mismatch for aspp.conv_1x1_4.bias: copying a param with shape torch.Size([20]) from checkpoint, the shape in current model is torch.Size([8]). (deeplabv3.py:50)

I am using exactly the Resnet (ResNet18_OS8) and the ASPP (no bottleneck) that you are using in your code. Do you know what could be causing this?

Thank you very much already in advance.

Cheers,
Linda

Changing No.# of classes

Hi,

For a custom dataset,

  • I changed the number of classes to 7 in the deeplabv3.py file (my data has 8 classes).
  • Eliminated the class_wieghts file requirement in the train.py file
  • Put my data & labels into the same folder structure

I get the following error in the line loss = loss_fn(outputs, label_imgs):
IndexError: Target 78 is out of bounds.

Can someone point out where I am going wrong?
Thanks

about evaluation result

Hi, @fregu856 ,

Thanks for releasing such a useful package using pytorch. I had practiced on eval_on_val_for_metrics.py as guided, and obtain the same metrics output as yours. I'm concerning about the big gap between your result and the official deeplabv3+ result.
The class IOU of yours is 59.3, while the official deeplabv3+ is reported as 82.1.
Could you list the difference regarding your implementation? Is the provided pre-trained model model_13_2_2_2_epoch_580.pth a very preliminary training result?

THX!

Add License

Hi,

Can you please add a license to your repo? Otherwise people will not be able to use your project.

Thanks

shape doesn't match

when i use resnet50-152 as the backbone to evaluate on my datasets , the shape doesn't match?

The dataloader problem

I want to know make the 2K image to 1024, then use random crop to make it to 255*255 shape in the train dataloader.Won't this have a bad effect on the results of image segmentation?

Better Model?

Hi:

I evaluated your pretrained model on cityscapes dataset and find that the performance is not that good. I haven't trained deeplabv3 using your scripts, but before that, I wondered if this is the best model trained by your scripts?(I think that you must have also adjust many parameters to achieve current performance) Thank you very much!

I'm trying to produce deeplabv3 paper's performance recently, so this question is important to me :)

Multi Grid Support

Hi , Thank you for this code repository.
Does this implementation support Multi Grid method as discussed in the paper?

Data Enhancement

Using a random cropping method, what is the difference between training and testing?

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.