Skip to content

Repository files navigation

2D convolutional neural network

Requirement

Install the following libraries with pip.

  • torch
  • torchvision
  • torchinfo
  • tqdm
  • matplotlib

or just use docker

How to Run

Put your data in TrainingData and TestData

Run main.py

python main.py --isTrain # for training
python main.py # for test

Run training and test code by

./sub.sh

You can change the parameters in sub.sh

Use plot.ipynb to check the model performance.

Loss function:
loss

Test output:
test

Images generated during training:
iter

References

Known Issues

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages