Skip to content

Segfault when bps = 14 but not when bps = 16 #47

@andrewyguo

Description

@andrewyguo

I am getting a segmentation fault when trying to run with bps = 14. However, this is not happening when bps = 16.

python scripts/image_process.py \
-p experiments/1104_denoise/models/net_g_latest.pth \
--data_path ../low_light_imaging_data/data_5170_1104_20mm/iso204800_s1_00800/images \
--save_path ../low_light_imaging_data/data_5170_1104_20mm/iso204800_s1_00800/denoised_LED \
--led --bps 14
Building network...
Loading checkpoint...
Loading UNetArch model from experiments/1104_denoise/models/net_g_latest.pth, with param key: [params_deploy].
  0%|                                                                                                                   | 0/211 [00:00<?, ?it/s]Segmentation fault (core dumped)
~/Documents/LED$ python scripts/image_process.py -p experiments/1104_denoise/models/net_g_latest.pth --data_path ../low_light_imaging_data/data_5170_1104_20mm/iso204800_s1_00800/images --save_path ../low_light_imaging_data/data_5170_1104_20mm/iso204800_s1_00800/denoised_LED --led 
Building network...
Loading checkpoint...
Loading UNetArch model from experiments/1104_denoise/models/net_g_latest.pth, with param key: [params_deploy].
  8%|████████      
  

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