Replies: 1 comment
-
|
Hi, data will be copied to GPU when calling the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
dataset = build_dataset(self.cfg.data.test)
data_loader = build_dataloader(
dataset,
samples_per_gpu=self.cfg.data.samples_per_gpu,
workers_per_gpu=self.cfg.data.workers_per_gpu,
shuffle=False,
round_up=True)
result = single_gpu_test(self.infer_model, data_loader)
e.g. above code, How to put my data to GPU
Beta Was this translation helpful? Give feedback.
All reactions