Skip to content

Error #51

@huzijian0622

Description

@huzijian0622

hello, I met a problem when i run the prepare_data_cache.sh and i set the img_scale to 2 , the problem is:
Traceback (most recent call last):
File "tools/prepare_data/prepare_data_cache.py", line 177, in
dataset = dataset_dictargs.dataset_name
File "/root/repo/huzijian/NeuralRecon-W/./datasets/phototourism.py", line 124, in init
self.read_meta()
File "/root/repo/huzijian/NeuralRecon-W/./datasets/phototourism.py", line 667, in read_meta
pad_ind = torch.floor((torch.rand(padding_length) * valid_num)).long()
RuntimeError: Trying to create tensor with negative dimension -2439: [-2439]

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