# ResNet - Live Coding in PyTorch - Wed Sep 15, 9pm IST

**URL:** <https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476>\
**Category:** Paper Reading Group\
**Tags:** beginner-friendly\
**Created:** [September 9, 2021, 12:53am UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476 "2021-09-09T00:53:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![amanarora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/amanarora/32/59_2.png) [@amanarora](https://community.wandb.ai/u/amanarora)\
**Post date:** [September 9, 2021, 12:53am UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/1 "2021-09-09T00:53:10Z")

</div>

In this session, we will live code ResNets from scratch using PyTorch.

Live stream: [Live Coding Session on ResNet - YouTube](http://wandb.me/resnet-stream)

---

<div class="post-metadata">

**Author:** ![vinayak\_nayak](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@vinayak\_nayak](https://community.wandb.ai/u/vinayak_nayak)\
**Post date:** [September 15, 2021, 5:02pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/2 "2021-09-15T17:02:41Z")

</div>

Hello Aman! Eagerly waiting for the session

---

<div class="post-metadata">

**Author:** ![amanarora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/amanarora/32/59_2.png) [@amanarora](https://community.wandb.ai/u/amanarora)\
**Post date:** [September 15, 2021, 5:02pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/3 "2021-09-15T17:02:45Z")

</div>

Could we please make sure to carry on our conversation here?

---

<div class="post-metadata">

**Author:** ![re114](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@re114](https://community.wandb.ai/u/re114)\
**Post date:** [September 15, 2021, 5:05pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/4 "2021-09-15T17:05:56Z")

</div>

can you bump up your font size a touch…

---

<div class="post-metadata">

**Author:** ![allenk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/allenk/32/66_2.png) [@allenk](https://community.wandb.ai/u/allenk)\
**Post date:** [September 15, 2021, 5:08pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/5 "2021-09-15T17:08:17Z")

</div>

good morning 🙂 increase font please

---

<div class="post-metadata">

**Author:** ![amanarora](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/amanarora/32/59_2.png) [@amanarora](https://community.wandb.ai/u/amanarora)\
**Post date:** [September 15, 2021, 5:08pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/6 "2021-09-15T17:08:58Z")

</div>

Is it fine now? I am at 125%

---

<div class="post-metadata">

**Author:** ![allenk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/allenk/32/66_2.png) [@allenk](https://community.wandb.ai/u/allenk)\
**Post date:** [September 15, 2021, 5:09pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/7 "2021-09-15T17:09:08Z")

</div>

thanks. it is good now.

---

<div class="post-metadata">

**Author:** ![deep\_learner\_007](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@deep\_learner\_007](https://community.wandb.ai/u/deep_learner_007)\
**Post date:** [September 15, 2021, 5:09pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/8 "2021-09-15T17:09:50Z")

</div>

Thank you for taking this session  
Really needed it

---

<div class="post-metadata">

**Author:** ![koushik\_ghosh](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@koushik\_ghosh](https://community.wandb.ai/u/koushik_ghosh)\
**Post date:** [September 15, 2021, 5:10pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/9 "2021-09-15T17:10:17Z")

</div>

thanks for this…i needed this session for resnet.

---

<div class="post-metadata">

**Author:** ![allenk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/allenk/32/66_2.png) [@allenk](https://community.wandb.ai/u/allenk)\
**Post date:** [September 15, 2021, 5:10pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/10 "2021-09-15T17:10:35Z")

</div>

yes. 3am … I am dedicated.

---

<div class="post-metadata">

**Author:** ![deep\_learner\_007](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@deep\_learner\_007](https://community.wandb.ai/u/deep_learner_007)\
**Post date:** [September 15, 2021, 5:11pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/11 "2021-09-15T17:11:37Z")

</div>

Will you also take up coding from scratch and setting up the ecc2 instance  
jeremy did discuss it but very briefly

---

<div class="post-metadata">

**Author:** ![saiamrit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/saiamrit/32/85_2.png) [@saiamrit](https://community.wandb.ai/u/saiamrit)\
**Post date:** [September 15, 2021, 5:13pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/12 "2021-09-15T17:13:32Z")

</div>

It would be really helpful if you could help us in setting up ec2 instance in a session.

---

<div class="post-metadata">

**Author:** ![deep\_learner\_007](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@deep\_learner\_007](https://community.wandb.ai/u/deep_learner_007)\
**Post date:** [September 15, 2021, 5:14pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/13 "2021-09-15T17:14:15Z")

</div>

I have tried to keep up with the PyTorch group, but the coding part takes time  
How should one use the notebooks?  
Should one try to replicate them?

---

<div class="post-metadata">

**Author:** ![deep\_learner\_007](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@deep\_learner\_007](https://community.wandb.ai/u/deep_learner_007)\
**Post date:** [September 15, 2021, 5:14pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/14 "2021-09-15T17:14:36Z")

</div>

(with respect to pytorch and [fast.ai](http://fast.ai))

---

<div class="post-metadata">

**Author:** ![deep\_learner\_007](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@deep\_learner\_007](https://community.wandb.ai/u/deep_learner_007)\
**Post date:** [September 15, 2021, 5:19pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/15 "2021-09-15T17:19:48Z")

</div>

sharing the repo referred to in the beginning

> **[GitHub - rwightman/pytorch-image-models: PyTorch image models, scripts,...](https://github.com/rwightman/pytorch-image-models)**
>
> PyTorch image models, scripts, pretrained weights -- ResNet, ResNeXT, EfficientNet, EfficientNetV2, NFNet, Vision Transformer, MixNet, MobileNet-V3/V2, RegNet, DPN, CSPNet, and more - GitHub - rwig...

how to know when to have the fully connected layer, pooling layer and convolution layer?

---

<div class="post-metadata">

**Author:** ![vinayak\_nayak](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@vinayak\_nayak](https://community.wandb.ai/u/vinayak_nayak)\
**Post date:** [September 15, 2021, 5:29pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/16 "2021-09-15T17:29:35Z")

</div>

Shouldn’t downsample be a conv2d instance?

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/ramesh/32/98_2.png) [@ramesh](https://community.wandb.ai/u/ramesh)\
**Post date:** [September 15, 2021, 5:29pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/17 "2021-09-15T17:29:58Z")

</div>

Do we not need to add Padding to the Conv2d operations?  
Also do we want to set self.downsample = 1 (Identify) if inchannels and out\_channels are same?

---

<div class="post-metadata">

**Author:** ![allenk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/allenk/32/66_2.png) [@allenk](https://community.wandb.ai/u/allenk)\
**Post date:** [September 15, 2021, 5:31pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/18 "2021-09-15T17:31:44Z")

</div>

I think you need need super. **init** () ??

---

<div class="post-metadata">

**Author:** ![koushik\_ghosh](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@koushik\_ghosh](https://community.wandb.ai/u/koushik_ghosh)\
**Post date:** [September 15, 2021, 5:33pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/19 "2021-09-15T17:33:49Z")

</div>

Doesn’t conv1d introduce new parameters while resnet is supposed to be f(x) + x ? sorry for a stupid question

---

<div class="post-metadata">

**Author:** ![koushik\_ghosh](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@koushik\_ghosh](https://community.wandb.ai/u/koushik_ghosh)\
**Post date:** [September 15, 2021, 5:35pm UTC](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476/20 "2021-09-15T17:35:41Z")

</div>

why is it needed ? never got this

[Next page](https://community.wandb.ai/t/resnet-live-coding-in-pytorch-wed-sep-15-9pm-ist/476.md?page=2)
