Giter Site home page Giter Site logo

Comments (4)

zhou13 avatar zhou13 commented on August 16, 2024
  1. It is not used in this project but in https://github.com/zhou13/shapeunity. Reserved for C-Junction and T-Junction.
  2. It is defined at
    feat = torch.cat(
    I don't know how to explain it further.
  3. It is the junctions wholse score > 0.03.
  4. This is similar to 1. Reserved for C-Junction and T-Junction.
  5. Subpixel offset compensation.

from lcnn.

Hui-Yao avatar Hui-Yao commented on August 16, 2024

@zhou13 Thanks for you reply.
(1)Does the variable feat represent some imformation(such as Inclination degree) forcibly injected into the feature?
Or how should i understand the role of feat?

 feat = torch.cat(
 [
   xyu / 128 * M.use_cood,     # uv coordinate of endpoint 1 of the chosen lines, shape of (num_chosen_line, 2)
   xyv / 128 * M.use_cood,     # uv coordinate of endpoint 2 of the chosen lines, shape of (num_chosen_line, 2)
   u2v * M.use_slop,           # Inclination degree(tan)  , shape of (num_chosen_line, 2)
   (u[:, None] > K).float(),   # whether the index of chosen enpoint is greater than K, shape of (num_chosen_line, 1)
   (v[:, None] > K).float(),   # K is defined as K = min(int(N * 2 + 2), max_K) durning training
],  
   dim=1, )    # feat.shape = (num_chosen_line, 8)

(2) Can you explain about the subpixel offset compensation briefly, or just send me a web link abot it? I cant search useful information about that concept on Baidu and Google.

Thanks again!

from lcnn.

zhou13 avatar zhou13 commented on August 16, 2024
  1. Yes. There is a section in the appendix of the paper describing it.
  2. 0.5 offset is there because of my definition of the coordinate of the image. You need to define whether the center of the pixel is at (0, 0) or (0.5, 0.5).

from lcnn.

Hui-Yao avatar Hui-Yao commented on August 16, 2024

@zhou13 Thanks very much, and have a good day !

from lcnn.

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.