GithubHelp home page GithubHelp logo

mrtnmndt / meta-learning-codebrim Goto Github PK

View Code? Open in Web Editor NEW
64.0 5.0 16.0 16.44 MB

Open-source code for our CVPR19 paper "Meta-learning Convolutional Neural Architectures for Multi-target Concrete Defect Classification with the COncrete DEfect BRidge IMage Dataset".

License: Other

Python 97.42% Shell 0.87% Jupyter Notebook 1.71%

meta-learning-codebrim's Introduction

meta-learning-CODEBRIM

Open-source code for our CVPR19 paper "Meta-learning Convolutional Neural Architectures for Multi-target Concrete Defect Classification with the COncrete DEfect BRidge IMage Dataset": IEEE open access or https://arxiv.org/abs/1904.08486

Please cite the paper if you make use of the content (e.g. the dataset):

Martin Mundt, Sagnik Majumder, Sreenivas Murali, Panagiotis Panetsos, Visvanathan Ramesh. Meta-learning Convolutional Neural Architectures for Multi-target Concrete Defect Classification with the COncrete DEfect BRidge IMage Dataset. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019

Dataset DOI

The dataset is available at: https://doi.org/10.5281/zenodo.2620293

Please note that the dataset is licensed for non-commercial and educational use only as specified by the license file attached with the dataset at above link.

Here is an example of what the dataset looks like (figure 1 from our paper):

Code for the paper

The open-source code includes: PyTorch and TensorFlow dataloaders, PyTorch code for MetaQNN and TensorFlow code for ENAS for our task. The latter is forked from https://github.com/melodyguan/enas with additional changes that are pointed out in respective files.

You can find the respective code in the equally named directories with additional README files with installation and usage instructions.

License

In summary, we allow usage for educational and research purposes, with the rights reserved by FIAS and Goethe University. Please visit the license file for full terms and conditions. For the adapted ENAS code, further licensing applies according to the original authors. The respective license file is reproduced in the corresponding subdirectory and applies in addition to our license.

This is an author's fork/copy and equivalent to the version in our group's repository: https://github.com/ccc-frankfurt/meta-learning-CODEBRIM

CVPR2019 poster

We have added the full resolution poster (pdf) presented at CVPR2019 in the imgs directory. Here is a jpg snapshot:

meta-learning-codebrim's People

Contributors

mrtnmndt 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

Watchers

 avatar  avatar  avatar  avatar  avatar

meta-learning-codebrim's Issues

About the dataset

Hi, the download link for the Bridge Damage Dataset is not available.

Extracting dataset on Ubuntu 16.04 LTS

Hi all,

I was facing problems extracting the dataset available on https://zenodo.org/record/2620293. @MrtnMndt helped me resolve it. I will describe the problem here followed by the solution that worked.

md5 of the downloaded zip files is correct, but upon extraction I got the following problems:

  • with unzip CODEBRIM_classification_balanced_dataset.zip, I got
Archive:  CODEBRIM_classification_balanced_dataset.zip
warning [CODEBRIM_classification_balanced_dataset.zip]:  8589934592 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  8589934592
  (attempting to re-compensate)
   creating: classification_dataset_balanced/
error: invalid zip file with overlapped components (possible zip bomb)
  • with 7z x CODEBRIM_classification_balanced_dataset.zip, I got
...
Extracting  classification_dataset_balanced/val/defects/image_0001304_crop_0000004.png
Extracting  classification_dataset_balanced/val/defects/image_0001129_crop_0000002.png
Extracting  classification_dataset_balanced/val/defects/image_0001126_crop_0000005.png
Extracting  __MACOSX/classification_dataset_balanced/val/defects/._image_0001126_crop_0000005.png
Extracting  classification_dataset_balanced/val/defects/image_0000300_crop_0000001.png

Sub items Errors: 7575

A closer observation showed the following for some files:

...
Extracting  classification_dataset_balanced/train/background/image_0000531_crop_0000005.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000324_crop_0000003.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0001311_crop_0000001.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000334_crop_0000005.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000030_crop_0000005.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000233_crop_0000005.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000020_crop_0000003.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000429_crop_0000004.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000969_crop_0000001.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000439_crop_0000002.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000001_crop_0000002.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000011_crop_0000004.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000202_crop_0000002.png     Unsupported Method
Extracting  classification_dataset_balanced/train/background/image_0000399_crop_0000003.png     Unsupported Method
...
  • With file-roller I could extract only a part of the data (~3GB) and some file were not readable.
    pastedImage

@MrtnMndt pointed out that the operating system probably did not handle large zip file automatically (zip files beyond 4GB). He tried it on his Mac/window and the extraction was just fine and suggested I use a different extractor tool following https://askubuntu.com/questions/959256/cant-extract-a-large-zip-file.

The solution that worked

sudo apt-get install fastjar
jar xvf CODEBRIM_classification_balanced_dataset.zip

✔️ This is also the accepted solution on: https://unix.stackexchange.com/questions/438368/unix-unzip-is-failing-but-mac-archive-utility-works

❌ We also tried the following which did not work.

sudo apt-get install dtrx
dtrx CODEBRIM_classification_balanced_dataset.zip

the problem of label

hello, I download a part of dataset.The zip file "CODEBRIM_crop_dataset" only includes images, but no labels.How can I download data which has been labeled?

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.