ChuRuaNh0 / FastSam_Awsome_TensorRT

105 stars 11 forks source link

Questions of the code #11

Open JisuHann opened 1 year ago

JisuHann commented 1 year ago

Hi Thank you for realizing FastSAM batch inference! I have some questions

  1. I am having a hard time understanding the post-processing code. Can you add more code comments about that?
  2. Is there any reason that you used an additional NMS code, which is not applied on FastSAM?
  3. I am not familiar with TensorRT, so I would like to ask is this inference code possible on multi-GPU settings.

Thank you in advance!

Haroldhy commented 12 months ago

这个算法的后处理过程确实相对比较复杂。python代码中会有一些默认为FALSE或者默认为TRUE的参数,大多用于做为判断条件,我们逻辑中真正能用到的参数很少,默认参数的取值以及忽略一些参数可能会对你的理解有帮助。