Giter VIP home page Giter VIP logo

covid-challenge's People

Contributors

dev-sungman avatar kevinkwshin avatar rlatjcj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

covid-challenge's Issues

성만쌤 확인 사항

@Sungman-Cho

  1. arguments로 attention block (e.g. non-local block) 추가
  2. arguments로 weight standardization 추가
  3. weight standardization 추가된 conv 부분 (nnunet/network_architecture/generic_UNet.py : line 28-40)
class Conv2d(nn.Conv2d):
    def __init__(self, in_channels, output_channels, kernel_size, stride=1,
                    padding=0, dilation=1, groups=1, bias=True):
        super(Conv2d, self).__init__(in_channels, output_channels, kernel_size, stride, padding,
                                    dilation, groups, bias)
    
    def forward(self, x):
        weight = self.weight
        weight_mean = weight.mean(dim=1, keepdim=True).mean(dim=2, keepdim=True).mean(dim=3, keepdim=True)
        weight = weight - weight_mean
        std = weight.view(weight.size(0), -1).std(dim=1).view(-1,1,1,1) + 1e-5
        weight = weight / std.expand_as(weight)
        return F.conv2d(x, weight, self.bias, self.stride, self.padding, self.dilation, self.groups) <--------

화살표 부분에 F.conv2d로 되어있는데, 코드 상에서 F를 불러오는 부분이 없습니다.

import torch.nn.functional

정도로만 되어 있네욤 (line 23)
다른 부분에서는 nn.Conv2d으로 불러오는데 확인좀요!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.