Skip to content

error #2

@YINGXINYAN

Description

@YINGXINYAN

when i run the testEyes.py, i have this error.
UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_new.cpp:264.)
totalHolder.append(((torch.tensor([[im]]).to(dtype=torch.float,device=device))/top,
tensor([[84.1106]], grad_fn=)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions