Giter Site home page Giter Site logo

lizhaoliu-lec / denet Goto Github PK

View Code? Open in Web Editor NEW
32.0 2.0 6.0 6.13 MB

This is the official repo for Dynamic Extension Nets for Few-shot Semantic Segmentation (ACM Multimedia 20).

Home Page: https://github.com/lizhaoliu-Lec/DENet

Python 99.58% Shell 0.42%
few-shot-segmentation segmentation pytorch-implementation few-shot-learning attention-mechanism denet

denet's People

Contributors

lizhaoliu-lec avatar mqianliu avatar xjay18 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

Watchers

 avatar  avatar

denet's Issues

COCO20i dataset

Is there a problem with the coco.py file? I use the function run_WrappedCOCOStuff20i to download the COCO dataset, but when it comes to the processing of fold, it always reports an error. Why?Sorry to bother you.

about dateset in config file

after run the function run_VOCSBDSegmentation5i_from_scratch() and copy the content in train_config_denet.template to train_config.yml, when I use "python -u train.py", the error is can't find "WrappedVOCSBDSegmentation5i" which in the config file, but the dataset VOC didn't contain the "WrappedVOCSBDSegmentation5i" after run the function run_VOCSBDSegmentation5i_from_scratch(), so where should I find the "WrappedVOCSBDSegmentation5i" folder? I tried to run other test functions in voc_sbd.py, but I didn't get what I want.

RuntimeError: File not found or corrupted.

Total message:
python voc_sbd.py
Using downloaded and verified file: ./PASCAL-5i/VOCtrainval_11-May-2012.tar
Extracting ./PASCAL-5i/VOCtrainval_11-May-2012.tar to ./PASCAL-5i
Downloading https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/semantic_contours/benchmark.tgz to ./PASCAL-5i/benchmark.tgz
1419540480it [09:34, 2468838.86it/s]
Extracting ./PASCAL-5i/benchmark.tgz to ./PASCAL-5i
Downloading https://www.cs.cornell.edu/~bharathh/ to ./PASCAL-5i/train_noval.txt
21504it [00:00, 77987.82it/s]
Traceback (most recent call last):
File "voc_sbd.py", line 917, in
run_VOCSBDSegmentation5i_from_scratch()
File "voc_sbd.py", line 682, in run_VOCSBDSegmentation5i_from_scratch
voc = VOCSBDSegmentation5i(roots=roots_path,
File "voc_sbd.py", line 282, in init
super().init(*args, **kwargs)
File "voc_sbd.py", line 89, in init
self.sbd = SBDataset(root=roots or root_sbd,
File "/home/miniconda3/envs/msa/lib/python3.8/site-packages/torchvision/datasets/sbd.py", line 83, in init
download_url(self.voc_train_url, sbd_root, self.voc_split_filename, self.voc_split_md5)
File "/home/miniconda3/envs/msa/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 152, in download_url
raise RuntimeError("File not found or corrupted.")
RuntimeError: File not found or corrupted.

What should I do?

Evaluation Problem

Thanks for releasing the code. It is an impressive work. And when I look into the whole pipeline, it is a little confused that the mIOU seems averaged on all class? Do you change the maximum_num_classes during testing?

about dataset in config files

after run the function run_VOCSBDSegmentation5i_from_scratch() and copy the content in train_config_denet.template to train_config.yml, when I use "python -u train.py", the error is can't find "WrappedVOCSBDSegmentation5i" which in the config file, but the dataset VOC didn't contain the "WrappedVOCSBDSegmentation5i" after run the function run_VOCSBDSegmentation5i_from_scratch(), so where should I find the "WrappedVOCSBDSegmentation5i" folder? I tried to run other test functions in voc_sbd.py, but I didn't get what I want.

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.