Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of cache files #94

Open
QChencq opened this issue Oct 6, 2024 · 4 comments
Open

Use of cache files #94

QChencq opened this issue Oct 6, 2024 · 4 comments
Labels

Comments

@QChencq
Copy link

QChencq commented Oct 6, 2024

Hello, after I prepare the cache files in h5 format, how should I call these cache files during training?

@flymin
Copy link
Member

flymin commented Oct 7, 2024

Just follow the readme, rename the file, and put them in the default path. The code will use it if successfully locates the file. You can also change the file path through config.

@QChencq
Copy link
Author

QChencq commented Oct 7, 2024

Thank you for your reply! After loading the cache file as required, I found two new logs in train.log as follows:

[2024-10-07 15:52:55,823][root][INFO] - using data cache from: MagicDrive-video/train_12Hz_advanced.h5
[2024-10-07 15:54:37,389][root][INFO] - using data cache from: MagicDrive-video/val_12Hz_advanced.h5

But I didn't find the relevant code to load the cache file. How can I check whether the cache file is loaded effectively?

@flymin
Copy link
Member

flymin commented Oct 7, 2024

You may just compare the speed between with and without cache file. The difference should be very significant.

Otherwise, you can search the line for logging, i.e., “using cache data from” . It is located in mmdet3d.

Copy link

This issue is stale because it has been open for 7 days with no activity. If you do not have any follow-ups, the issue will be closed soon.

@github-actions github-actions bot added the stale label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants