Skip to content

No such file or directory: 289_points_3d.npy #15

@stefanieschneider

Description

@stefanieschneider

Based on the inference code provided by @vcadillog (thank you!), I encountered the following error when running the code:

Traceback (most recent call last): File "/home/sschneider/projects/hulk/.env/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap fn(i, *args) File "/home/sschneider/projects/hulk/test.py", line 24, in multi_inference pipeline = HumanHulk(device) File "/home/sschneider/projects/hulk/inference_model.py", line 209, in __init__ self.det_model = self.load_model(config, path_detect, 0) File "/home/sschneider/projects/hulk/inference_model.py", line 269, in load_model model = create_model(config, self.device) File "/home/sschneider/projects/hulk/inference_model.py", line 114, in create_model decoder_module = decoders.decoder_entry(config.decoder) File "/home/sschneider/projects/hulk/core/models/decoders/__init__.py", line 5, in decoder_entry return globals()[config['type']](**config['kwargs']) File "/home/sschneider/projects/hulk/core/models/decoders/mask2former/meta_arch/unihcpv2_head.py", line 79, in __init__ self.predictor = Hulk_Decoder(in_channels=neck.vis_token_dim, File "/home/sschneider/projects/hulk/core/models/decoders/mask2former/transformer_decoder/hulk_decoder.py", line 690, in __init__ anchor_points = np.load(self.peddet_cfgs.get('pre_defined_path')) File "/home/sschneider/projects/hulk/.env/lib/python3.10/site-packages/numpy/lib/npyio.py", line 427, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: '289_points_3d.npy'

Where does the file 289_points_3d.npy come from? Many thanks in advance.

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