Commit Graph

15 Commits

Author SHA1 Message Date
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
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
93e8b23316
Merge pull request #18 from cshizhe/dependabot/pip/transformers-4.30.0
Bump transformers from 4.12.5 to 4.30.0
2023-06-27 09:34:32 +02:00
dependabot[bot]
f97752039c
Bump transformers from 4.12.5 to 4.30.0
Bumps [transformers](https://github.com/huggingface/transformers) from 4.12.5 to 4.30.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.12.5...v4.30.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 07:34:11 +00:00
Shizhe Chen
4729a1e265 init 2022-03-26 21:02:56 +01:00
Shizhe Chen
89214a7c44 init 2022-03-26 20:56:29 +01:00
Shizhe Chen
7a8a5dee38
Update README.md 2021-11-24 13:12:08 +01:00
Shizhe Chen
747cf0587b init 2021-11-24 13:29:08 +01:00