Skip to content

Comments

cache xpt data if cachedir is specified#4

Closed
cwsmith wants to merge 1 commit intoluy/unetfrom
cws/xptCache
Closed

cache xpt data if cachedir is specified#4
cwsmith wants to merge 1 commit intoluy/unetfrom
cws/xptCache

Conversation

@cwsmith
Copy link
Contributor

@cwsmith cwsmith commented Mar 28, 2025

This PR will optionally allow users to write the output of Jason's X point finder to disk so that repeated runs are faster. Subsequent runs using the cached files for 150 frames will load all the data in less than a minute instead of ~18 minutes when it had to run the X point finder.

For example, python XPointMLTest.py --xptCacheDir=/path/to/cache/dir will write a set of files per input frame to the specified path. On subsequent runs, when --xptCacheDir=/path/to/cache/dir is passed, those files will be read in instead of re-running the X point finder.

@cwsmith cwsmith closed this Mar 31, 2025
@cwsmith
Copy link
Contributor Author

cwsmith commented Mar 31, 2025

merged into main as of 1efa3c7

@cwsmith cwsmith deleted the cws/xptCache branch March 31, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant