tensorflow / tensorflow/models

Question: About Renet-v1 stride value(looks different with original paper)

Open
#7,509 2 comments 0 reactions 2 assignees View on GitHub

@marksandler2 is already working on this.

Since Jun 22, 2020.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

System information
Top level dir : tensorflow/models/research/slim/nets/
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): pip3 library install
TensorFlow version : 1.13
Bazel version (if compiling from source): N/A
CUDA/cuDNN version: 10.0
GPU model and memory: N/A
Exact command to reproduce: N/A

problem

It's not an error and just curious about stride value of resnet.
As I know, original paper(Deep Residual Learning for Image Recognition, 2015) use stride "2" on block 2,3,4. but code use stride "2" on block 1,2,3.

  • origianal paper's description is on Table 1.
  • code is on /models/research/slim/nets/resnet_v1.py(same on "resnet_v2.py "), def resnet_v1_50(...): ...

Is there any specific reason for using stride "2" on block 1,2,3 instead block 2,3,4??

Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.