Commit Graph

8 Commits

Author SHA1 Message Date
287a35965e
fix: remove obj loss 2024-07-16 13:49:22 +08:00
924cfe9b43
feat: show NOT_FOUND prob. in detail informations 2024-01-21 14:48:01 +08:00
de3326ae85
fix: some KEY ERROR situation
- situation: in visualization tool, some False Negative case(receive
  adversarial instruction but return True(found)) will get the
  found_objid but None. So it will raise a Key error interrupt.

- Solution: found that there is a condition function in agent_obj.py
  return NOT_FOUND when detecting the found_objId is -1 but it doesn't
  detect None so that it always return FOUND when the found_objId is
  None. It doens't follow the rules. I add a new condition to check
  whether the found_objId is -1 or None

- Other: For run the testing scripts, the user can shoose to replace the
  exists output file.
2024-01-19 15:25:26 +08:00
fb82daf16a
feat: complete adversarial's rollout() 2023-12-11 05:25:23 +08:00
f6c4a4f87e
feat: change _teacher_object() to allow not found token 2023-12-11 04:33:37 +08:00
5e424ede40
fix: argmax of obj_logits, -1 if not found 2023-12-11 03:38:40 +08:00
1b731a14a3
feat: add not found token in pano features & masks 2023-12-11 03:18:19 +08:00
Shizhe Chen
747cf0587b init 2021-11-24 13:29:08 +01:00