Giter Site home page Giter Site logo

yonghaoxu / crgnet Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 3.0 8.52 MB

[IEEE TIP 2022] Consistency-Regularized Region-Growing Network for Semantic Segmentation of Urban Scenes with Point-Level Annotations

License: MIT License

Python 100.00%
deep-learning pytorch region-growing remote-sensing semantic-segmentation weakly-supervised-learning weakly-supervised-segmentation

crgnet's People

Contributors

yonghaoxu 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

Watchers

 avatar

crgnet's Issues

RuntimeWarning: invalid value encountered in divide

I encountered the following error, will this affect the training? I got very bad results.
/mnt/4t_disk/sxq/CRGNet4/utils/tools.py:98: RuntimeWarning: invalid value encountered in divide
acc_cls = np.diag(hist) / hist.sum(axis=1)
/mnt/4t_disk/sxq/CRGNet4/utils/tools.py: 100 : RuntimeWarning: invalid value encountered in divide
iu = np.diag(hist) / (hist.sum(axis=1) + hist.sum(axis=0) - np.diag(hist))
VaihingenSeg_log.txt

Where did you download the vgg16 pretrained weight?

Hi, @YonghaoXu. Your work is great and inspires me lot.
I want to know the link that you download the vgg16 pretrained weight.
I notice that pytorch has already provided a vgg16 pretrained weight in models.vgg16(pretrained=True).
So I am curious about why you use another pretrained weight.
Thank you very much.

About how to preprocess Vaihingen dataset labels!

Since the url of Vaihingen dataset has expired, and the labels of the dataset found on the Internet do not satisfy the current project, I would like to share with you how I deal with the labels.

Here is my code. Welcome star and follow me!

At present, I only uploaded how to preprocess labels and other places that need to be modified in the project, and I will update it later.

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.