-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11163d3
commit 0810ed5
Showing
6 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,3 +81,5 @@ venv/ | |
|
||
# written by setuptools_scm | ||
**/_version.py | ||
|
||
tb_logs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
|
||
def extract_ood_frame_predictions( | ||
data_dir: str, | ||
results_dir: str, | ||
overwrite: bool, | ||
) -> None: | ||
|
||
pass | ||
|
||
# look for all files that end in _new.csv -> these are OOD labels | ||
# loop through these | ||
# for each, load the csv file, and iterate through the rows/index | ||
# 'labeled-data/<vid_name>/img<#>.png' | ||
# s = 'labeled-data/vid_name/img0000.png' | ||
# s2 = '/'.join(s.split('/')[1:]) | ||
# s3 = s2.replace('png', 'mp4') | ||
# load 51-frame csv file | ||
# extract center frame | ||
# put in dataframe | ||
# save out predictions_<cam_name>.csv | ||
# compute pixel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-1.04 KB
tb_logs/test_model/version_0/events.out.tfevents.1733863018.ip-10-192-11-211.42209.2
Binary file not shown.