Skip to content

Data Analyzer CPU-only test is using GPU when available #6277

@mingxin-zheng

Description

@mingxin-zheng

Describe the bug

self.datalist_file, self.dataroot_dir, output_path=self.datastat_file, label_key=label_key

device is not specified to cpu after the PR that changes default device to cuda

Expected behavior
CPU-only test should be using CPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions