Coder Social home page Coder Social logo

Comments (13)

zorzi-s avatar zorzi-s commented on August 20, 2024 1

@zorzi-s @GuoxingYan @hehongjie I saw that in prediction.py in line 42, 46,53

model.train()

It means that model is at train model not eval?? is it right? If eval must change mode to eval? If training how to train it? Many thank

@phamkhactu @hehongjie Thank you for the interest in our method! We use model.train() during inference in order to force the batch normalization layers to use batch statistics instead of the mean and variance estimated during training. The model weights are not updated during inference. Please also refer to this conversation: link.

from polyworldpretrainednetwork.

GuoxingYan avatar GuoxingYan commented on August 20, 2024

During training, what is the factor in Equation 12 equal to?

from polyworldpretrainednetwork.

GuoxingYan avatar GuoxingYan commented on August 20, 2024

When calculating the match loss, is the method of simply assigning a nearest predictor to each label?

from polyworldpretrainednetwork.

hehongjie avatar hehongjie commented on August 20, 2024

Hello Guoxing, do you know how to construct the permutation matrixs for model training? It seems we need to first decide the order of vertices and then made the matrix, right? But how to decide the order?

from polyworldpretrainednetwork.

phamkhactu avatar phamkhactu commented on August 20, 2024

@zorzi-s @GuoxingYan @hehongjie I saw that in prediction.py in line 42, 46,53

model.train()

It means that model is at train model not eval?? is it right? If eval must change mode to eval?
If training how to train it?
Many thank

from polyworldpretrainednetwork.

phamkhactu avatar phamkhactu commented on August 20, 2024

@hehongjie when I set all model to eval(), the result very poor!!

Mean IoU:  0.0008893926959595389
Mean C-IoU:  0.0007304682105452664

if want to evaluate model must train to eval model, if use train model, model can update, so not truth, this is my limited knowledge. if wrong, many sorry for you.

from polyworldpretrainednetwork.

hehongjie avatar hehongjie commented on August 20, 2024

@phamkhactu Yes, you are right. You may refer to this answer.https://stackoverflow.com/questions/51433378/what-does-model-train-do-in-pytorch

from polyworldpretrainednetwork.

phamkhactu avatar phamkhactu commented on August 20, 2024

@phamkhactu Yes, you are right. You may refer to this answer.https://stackoverflow.com/questions/51433378/what-does-model-train-do-in-pytorch

@hehongjie as you can see that, the output validation from eval and train model very diff, but if i use train model model can update weight, can it cause wrong prediction??
I have another question that: with your design model public from your research team, the model can learn to classifier direction?

image

Like image, I expected that 2 polygon are diff, Does the model R2U_Net learn this?

from polyworldpretrainednetwork.

phamkhactu avatar phamkhactu commented on August 20, 2024

@zorzi-s @GuoxingYan @hehongjie I saw that in prediction.py in line 42, 46,53

model.train()

It means that model is at train model not eval?? is it right? If eval must change mode to eval? If training how to train it? Many thank

@phamkhactu @hehongjie Thank you for the interest in our method! We use model.train() during inference in order to force the batch normalization layers to use batch statistics instead of the mean and variance estimated during training. The model weights are not updated during inference. Please also refer to this conversation: link.

@zorzi-s thank you. As I mention in above question:
I have another question that: with your design model public from your research team, the model can learn to classifier direction?

image

Like image, I expected that 2 polygon are diff, Does the model R2U_Net learn this?
For you, Your model can do that?? In my opition it can, because model learn polygon points, so direction make difference feature extraction. How about you? Many Thanks

from polyworldpretrainednetwork.

henokyen avatar henokyen commented on August 20, 2024

Has anyone figured out how to calculate the permutation matrix during training using the Sinkhorn algorithm?

from polyworldpretrainednetwork.

henokyen avatar henokyen commented on August 20, 2024

@GuoxingYan have you figured out how to calculate the partial assignment during training using the Sinkhorn algorithm?

from polyworldpretrainednetwork.

henokyen avatar henokyen commented on August 20, 2024

@zorzi-s How can we confirm the originality of your paper if you don't provide your training script?

from polyworldpretrainednetwork.

ogencoglu avatar ogencoglu commented on August 20, 2024

Do we have the repo for the new paper, Re:PolyWorld, @zorzi-s ?
https://openaccess.thecvf.com/content/ICCV2023/papers/Zorzi_RePolyWorld_-_A_Graph_Neural_Network_for_Polygonal_Scene_Parsing_ICCV_2023_paper.pdf

from polyworldpretrainednetwork.

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.