mlpc-ucsd / LETR

(CVPR 2021 Oral) LETR: Line Segment Detection Using Transformers without Edges
Apache License 2.0
209 stars 40 forks source link

Unused parameters warning while reproducing the results #4

Closed madhu9595 closed 3 years ago

madhu9595 commented 3 years ago

Getting the following warning during training:

[W reducer.cpp:1050] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect performance. If your model indeed never has any unused parameters, consider turning this flag off. Note that this warning may be a false positive your model has flow control causing later iterations to have unused parameters. (function operator())

is file reducer.cpp a part of back-end network and how to access and modify it ?

yix081 commented 3 years ago

Thanks for pointing it out! This flag is used to debug our old codebase, but may not be useful in the current GitHub cleaned codebase. Feel free to turn it off if it hurts performance.