Closed Norman-Ou closed 1 month ago
Hi Ruizhe, the logic you mentioned is in the inference.py. model.py contains mainly training code. As mentioned in the paper, during training, the model uses "teacher forcing", which adds noise to ground-truth to emulate the predicted vertices.
Closing, feel free to reopen if need further discussion.
As you mentioned in the 3rd paragraph of section 3.3, I quote
In my understantding, the whole process of generating vertices from masks that you mentioned, algorithm 1 in your paper, should take place online during model training and inference.
However, in the model.py#L405-L448 code you provide, the vertices (in the variable 'graph_points') are passed by the predefined dataset into the module about the topology, not by algorithm 1.
If your code is not found because of my oversight, please correct me!
Sincerely, Ruizhe