GithubHelp home page GithubHelp logo

anogan-mvtec-grid-'s Introduction

AnoGAN-MvTec(grid)

Introduction

I only try to reconstruction texture samples in MvTec by AnoGAN, but not very successfully.

Even so, I still push my relative code with hopeness to help someone.

  • My reconstruction results
  • 0-0
  • 0-0
  • 0-2

You Need Following Packages

pytorch;torchvision; opencv4 ;tensorboard; tensorflow(it's necessary if want use tensorbard )

torchsummary; numpy; tqdm; argparse; PIL

If you do not want install tensorboard and tensorflow, you can annotate relative code.

Structure

  • dataload
    • dataload.py get dataset
    • mvtec.py load images of mvtec
    • random_cut.py data argumentation by cutting sub-images randomly
  • experiments save experiments results
    • size-64-epoch-100 pretrained weights when sub-images is 64*64 and epoches is 100
    • size-128-epoch-200 pretrained weights when sub-images is 128*128 and epoches is 200
    • anogan_train results during training
    • anogan_test results during testing(inference)
  • models
    • CNN_anogan.py DCGAN with input size 128128; if you want to train the model with input size 6464, you need modify the model simply.
  • runs save logs generated by tensorboard
  • test infernece(testing) code
  • train training code

anogan-mvtec-grid-'s People

Contributors

qqsuhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

berlingberling

anogan-mvtec-grid-'s Issues

模型训练问题

请教一下,如果要训练输入大小为 64×64 的模型,需修改模型的哪里呢

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.