Skip to content

Get an error when I run nonrigid_registration.py #25

@yuyu19970716

Description

@yuyu19970716

Hello, I get an error when I run nonrigid_registration.py:

Exception: unable to write to memory
tiff2vips: Cumulated memory allocation of 12063052 + 104857600 bytes is beyond the 52428800 cumulated byte limit defined in open options
tiff2vips: No space for data buffer at scanline 4294967295

Traceback (most recent call last):
File "nonrigid_registration.py", line 39, in
run()
File "nonrigid_registration.py", line 36, in run
deeperhistreg.run_registration(**config)
File "/root/miniconda3/envs/deeperhistreg/lib/python3.8/site-packages/deeperhistreg/run.py", line 50, in run_registration
warped_name = [item for item in os.listdir(pathlib.Path(save_path) / experiment_name / "Results_Final") if "warped_source" in item][0]
FileNotFoundError: [Errno 2] No such file or directory: '/home/###/deeperhistreg/A100-test-results/temp/Example_Nonrigid/Results_Final'

I want to use /HistoPlexer-Ultivue/MACEGEJ/immuno8_panel/MACEGEJ-Scene-2-stacked/MACEGEJ-Scene-2_Rd1_-DAPI.tif from the HistoPlexer-Ultivue dataset as the source image, and /HistoPlexer-Ultivue/MACEGEJ/HE/MACEGEJ_LS_4_BLOCK00_HE.ndpi as the target image to run and see the results, but it gives this error. It occurs whether I use a 3090 or an A100, and I don't know why. The versions I am using are: vips-8.17.2 and pyvips 2.2.3.

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