Giter Site home page Giter Site logo

fusion_dataset.py about instcolorization HOT 1 OPEN

ericsujw avatar ericsujw commented on July 20, 2024
fusion_dataset.py

from instcolorization.

Comments (1)

iamxinxin avatar iamxinxin commented on July 20, 2024

可能是为了标记 在不同卷积层里每个instance对应于 full image的位置,让instance模型的参数和相应位置的整图特征能刚好对应上。

FusionGenerator.forward in fusion_model.py
`

    conv1_2 = self.model1(torch.cat((input_A,input_B,mask_B),dim=1))
    conv1_2 = self.weight_layer(instance_feature['conv1_2'], conv1_2, box_info_list[0])

    conv2_2 = self.model2(conv1_2[:,:,::2,::2])
    conv2_2 = self.weight_layer2(instance_feature['conv2_2'], conv2_2, box_info_list[1])

    conv3_3 = self.model3(conv2_2[:,:,::2,::2])
    conv3_3 = self.weight_layer3(instance_feature['conv3_3'], conv3_3, box_info_list[2])

    conv4_3 = self.model4(conv3_3[:,:,::2,::2])
    conv4_3 = self.weight_layer4(instance_feature['conv4_3'], conv4_3, box_info_list[3])
    ……`

from instcolorization.

Related Issues (20)

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.