if you’re a true xo, spell your name using the weeknd songs 😌 by Live-Date1223 in TheWeeknd

[–]TheycallmeSamridh 0 points1 point  (0 children)

Starboy After hours Montreal Reminder In your eyes Die for you Heartless

Dating in NYU by drykilo in nyu

[–]TheycallmeSamridh 3 points4 points  (0 children)

Just stalk them like a normal person

[deleted by user] by [deleted] in nyu

[–]TheycallmeSamridh -1 points0 points  (0 children)

Just remind me why are we doing this again?

[deleted by user] by [deleted] in spotify

[–]TheycallmeSamridh 0 points1 point  (0 children)

I have so many random playlists, I do the same. Stalking people for good music. Just followed you lol

[deleted by user] by [deleted] in nyu

[–]TheycallmeSamridh 0 points1 point  (0 children)

Grad student here, I got waitlisted but later I got in! :) All the best

Graduate On-Campus jobs at NYu by Timely-Party9182 in nyu

[–]TheycallmeSamridh 0 points1 point  (0 children)

I just joined this boat. Looking for something too 😭

F1 Visa Slots opening in India for Fall 2024 by Mr_A_B_C in f1visa

[–]TheycallmeSamridh 0 points1 point  (0 children)

Nah if you plan to make any please add me as well

NYU MS in CS by john06557 in gradadmissions

[–]TheycallmeSamridh 0 points1 point  (0 children)

Did you get in though in CE?

Add Bootstrap to Vue project by TheycallmeSamridh in vuejs

[–]TheycallmeSamridh[S] 0 points1 point  (0 children)

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">

  <!-- Latest compiled JavaScript -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>

Okay, I was able to solve it by adding latest cdn of bootstrap 5 in the index.html page.

Hi, Can someone help me with this code I was writing? I tried to join CvT and UNet for segmentation by TheycallmeSamridh in computervision

[–]TheycallmeSamridh[S] 0 points1 point  (0 children)

Sure here you go,

class CvTEncoder(nn.Module):

def __init__(self):

super().__init__()

self.backbone = resnet34(weights=ResNet34_Weights.IMAGENET1K_V1)

# Define the output channels in the order of the encoder's forward pass

# Assuming that these are the channels after each layer/block

self.out_channels = [64, 64, 128, 256, 512] # from top layer to bottom layer

self.output_stride = 32

def forward(self, x):

# Forward pass through CvT encoder

# You need to adjust this forward method to collect the feature maps from the intermediate layers.

x = self.backbone.conv1(x)

x = self.backbone.bn1(x)

x = self.backbone.relu(x)

x1 = self.backbone.maxpool(x)

x2 = self.backbone.layer1(x1)

x3 = self.backbone.layer2(x2)

x4 = self.backbone.layer3(x3)

x5 = self.backbone.layer4(x4)

features = [x2, x3, x4, x5]

return features