Commit Graph

10 Commits

Author SHA1 Message Date
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
b2dce6111e
feat: add new metric (found_sr & SSPL) 2023-12-11 14:34:45 +08:00
fb82daf16a
feat: complete adversarial's rollout() 2023-12-11 05:25:23 +08:00
b96106fa69
style: comment out first validate for checking 2023-12-11 04:34:29 +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
bc8bc1b9d4
feat: add found in get_obs() 2023-12-11 01:42:14 +08:00
Shizhe Chen
89214a7c44 init 2022-03-26 20:56:29 +01:00
Shizhe Chen
747cf0587b init 2021-11-24 13:29:08 +01:00