GithubHelp home page GithubHelp logo

aatifjiwani / rgb-footprint-extract Goto Github PK

View Code? Open in Web Editor NEW
62.0 62.0 22.0 331 KB

A Semantic Segmentation Network for Urban-Scale Building Footprint Extraction Using RGB Satellite Imagery

Home Page: https://arxiv.org/abs/2104.01263

License: MIT License

Python 99.18% Shell 0.82%

rgb-footprint-extract's Introduction

Hello, welcome to my Github page :D here are some neato states

As a start, I've made 1178 commits, created 31 repos, contributed to 5 repos, and have made 80 pull requests.

Enjoy these colorful badges of the language statistics (I guess my notebooks overloaded everything)

Jupyter Notebook Python C C++ Other

rgb-footprint-extract's People

Contributors

aatifjiwani 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

Watchers

 avatar  avatar  avatar

rgb-footprint-extract's Issues

inference on single image?

Hi,

Thanks for the great work! Would you please suggest how to run inference on a single image? I would like to test the model on my own urban satellite data. Thanks!

URLError about class Tensor in evaluate file

Hi, I met a error called URLError when I use the class of evaluate file and the information shows below:
File "inference.py", line 84, in main
tester = Tester(args)
File "/root/autodl-tmp/models/deeplab/evaluate.py", line 47, in init
self.model = DeepLab(
File "/root/autodl-tmp/models/deeplab/modeling/deeplab.py", line 22, in init
self.backbone = build_backbone(backbone, output_stride, BatchNorm)
File "/root/autodl-tmp/models/deeplab/modeling/backbone/init.py", line 11, in build_backbone
return drn.drn_c_42(BatchNorm)
File "/root/autodl-tmp/models/deeplab/modeling/backbone/drn.py", line 324, in drn_c_42
pretrained = model_zoo.load_url(model_urls['drn-c-42'])
File "/root/miniconda3/lib/python3.8/site-packages/torch/hub.py", line 727, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "/root/miniconda3/lib/python3.8/site-packages/torch/hub.py", line 593, in download_url_to_file
u = urlopen(req)
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/root/miniconda3/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 113] No route to host>
It turns out to be that the pretrain of DRN couldn't be download from http://dl.yf.io/drn/, and I can't open this url, do you have any solutions?

testing model on a cpu-only machine

Hi :) i run the infer_deeplab.sh setting --no-cuda but i get this error:

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

Can you help me? Thank you

I added map_location=torch.device('cpu') in torch.load in loader.py

Best model weights

Could you release the weights for the best model, i.e. the one described as, "Our final model is a DeepLavV3+ module with a Dilated ResNet C42 backbone trained using the F-Beta Measure + Exponentially Weighted Cross Entropy Loss (Beta = 0.5). We employ the cross-task training strategy only for Urban3D and SpaceNet"?

Unable to Download Weights

Hello,
I saw the research work and am looking forward to try it's results on my custom dataset but when I clone into github it's not allowing me to download the weights file.
ERROR : This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
@aatifjiwani Please upload the weights file and share a link of drive or any other source

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.