• Stars
    star
    291
  • Rank 142,563 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A ResNet(ResNet18, ResNet34, ResNet50, ResNet101, ResNet152) implementation using TensorFlow-2.0.

TensorFlow2.0_ResNet

A ResNet(ResNet18, ResNet34, ResNet50, ResNet101, ResNet152) implementation using TensorFlow-2.0

See https://github.com/calmisential/Basic_CNNs_TensorFlow2.0 for more CNNs.

Train

  1. Requirements:
  • Python >= 3.6
  • Tensorflow == 2.0.0
  1. To train the ResNet on your own dataset, you can put the dataset under the folder original dataset, and the directory should look like this:
|——original dataset
   |——class_name_0
   |——class_name_1
   |——class_name_2
   |——class_name_3
  1. Run the script split_dataset.py to split the raw dataset into train set, valid set and test set.
  2. Change the corresponding parameters in config.py.
  3. Run train.py to start training.

Evaluate

Run evaluate.py to evaluate the model's performance on the test dataset.

The networks I have implemented with tensorflow2.0:

References

  1. The original paper: https://arxiv.org/abs/1512.03385
  2. The TensorFlow official tutorials: https://tensorflow.google.cn/beta/tutorials/quickstart/advanced

More Repositories

1

Basic_CNNs_TensorFlow2

A tensorflow2 implementation of some basic CNNs(MobileNetV1/V2/V3, EfficientNet, ResNeXt, InceptionV4, InceptionResNetV1/V2, SENet, SqueezeNet, DenseNet, ShuffleNetV2, ResNet).
Python
515
star
2

YOLOv3_TensorFlow2

基于TensorFlow2.x实现的YOLOv3,支持在自定义数据集上训练,支持保存为TFLite模型。A tensorflow2 implementation of YOLO_V3(Supports training on custom dataset and saving as tflite models.).
Python
103
star
3

TensorFlow2.0_SSD

A tensorflow_2.0 implementation of SSD (Single Shot MultiBox Detector) .
Python
82
star
4

TensorFlow2.0_Image_Classification

A TensorFlow_2.0 implementation of AlexNet and VGGNet.
Python
39
star
5

MobileNetV3_TensorFlow2

A tensorflow2 implementation of MobileNet-V3.
Python
37
star
6

EfficientNet_TensorFlow2

A tensorflow2 implementation of EfficientNet.
Python
30
star
7

TensorFlow2.0_InceptionV3

A TensorFlow_2.0 implementation of InceptionV3.
Python
30
star
8

CenterNet_TensorFlow2

A tensorflow2.x implementation of CenterNet.
Python
21
star
9

ResNeXt_TensorFlow2

A tensorflow2 implementation of ResNeXt(ResNeXt50, ResNeXt101).
Python
17
star
10

InceptionV4_TensorFlow2

A tensorflow2 implementation of Inception_V4, Inception_ResNet_V1 and Inception_ResNet_V2.
Python
17
star
11

HRNet_Pose_Estimation_TensorFlow2

A tensorflow2 implementation of HRNet for human pose estimation.
Python
13
star
12

EfficientDet_TensorFlow2

A tensorflow2.x implementation of EfficientDet: Scalable and Efficient Object Detection.
Python
11
star
13

ComputerVision.pytorch

计算机视觉
Python
8
star
14

YOLOv4_PyTorch

A PyTorch implementation of YOLOv4.
Python
7
star
15

CRNN_TensorFlow2

A tensorflow2 implementation of CRNN(Convolutional Recurrent Neural Network).
Python
6
star
16

DenseNet_TensorFlow2

A tensorflow2 implementation of DenseNet (including DenseNet121, DenseNet169, DenseNet201, DenseNet269).
Python
6
star
17

DeepLearning.pytorch

深度学习算法
Python
6
star
18

PyTorch_Object_Detection

SkeNetch is a deep learning tool based on PyTorch.
Python
5
star
19

My_Leetcode_Solutions

LeetCode solutions in Python, JavaScript and so on.
Java
1
star
20

Segmentation.pytorch

Python
1
star