Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with dataset #16

Closed
SebastianJanampa opened this issue Dec 10, 2024 · 3 comments
Closed

Help with dataset #16

SebastianJanampa opened this issue Dec 10, 2024 · 3 comments

Comments

@SebastianJanampa
Copy link

Hello,
Thanks for your incredible work. I want to replicate your training. I've already downloaded the laval dataset. But when I try to create the openpano dataset I've got messages saying that some images are missing. Could you please guide me on what I am doing wrong?

Regards,
Sebastian

geocalib) sebastian@SebasJR:~/GeoCalib$ python -m siclib.datasets.utils.tonemapping --hdr_dir data/indoorDatasetCalibrated --out_dir data/laval-tonemap
100%|██████████████████████████████████████████████████████████| 2233/2233 [2:05:35<00:00,  3.37s/it]
(geocalib) sebastian@SebasJR:~/GeoCalib$ python -m siclib.datasets.utils.download_openpano --name openpano --laval_dir data/laval-tonemap
[12/10/2024 08:03:57 siclib INFO] Downloading dataset openpano to data/openpano.zip from https://cvg-data.inf.ethz.ch/GeoCalib_ECCV2024/openpano.zip.
100%|███████████████████████████████████████████████████████████| 3.44G/3.44G [03:58<00:00, 15.5MB/s]
[12/10/2024 08:07:57 siclib INFO] Extracting dataset openpano in data.
Copying train panoramas:   0%|                         | 0/2262 [00:00<?, ?it/s][12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0001-6fbef8172f.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0001-beb39950ec.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0001-c6c6bf7c76.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0001-e46aeaa0e0.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0001-fb23a1f1e2.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0118-d62d774f8c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:   6%|▊            | 146/2262 [00:00<00:01, 1434.53it/s][12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0174-5fab8c4412.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0244-d7097f39a0.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0328-fd1df92aaf.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:17 siclib WARNING] Panorama 9C4A0372-109e28a87a.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A0867-2d54f16b03.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A0893-fb04a9c05d.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1099-6694ce3c21.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1141-fa41bce45f.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  13%|█▊            | 290/2262 [00:00<00:05, 352.90it/s][12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1296-e05395558f.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1309-8ad01be318.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1494-5291a7ca43.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1533-7dc30a49e9.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1608-cbda09fd27.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  16%|██▏           | 363/2262 [00:01<00:07, 254.53it/s][12/10/2024 08:08:18 siclib WARNING] Panorama 9C4A1875-4be2493f7f.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  18%|██▌           | 410/2262 [00:01<00:10, 182.79it/s][12/10/2024 08:08:19 siclib WARNING] Panorama 9C4A2194-ef5f32f8dc.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  20%|██▋           | 442/2262 [00:01<00:10, 171.61it/s][12/10/2024 08:08:19 siclib WARNING] Panorama 9C4A2705-c925361e12.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  21%|██▉           | 468/2262 [00:02<00:11, 149.78it/s][12/10/2024 08:08:19 siclib WARNING] Panorama 9C4A2901-1b8d71f64a.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:19 siclib WARNING] Panorama 9C4A2932-a0a3a68659.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:19 siclib WARNING] Panorama 9C4A3111-1d735de540.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  22%|███           | 488/2262 [00:02<00:12, 142.48it/s][12/10/2024 08:08:20 siclib WARNING] Panorama 9C4A3275-fe3b37b3b3.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  24%|███▌           | 540/2262 [00:03<00:23, 73.96it/s][12/10/2024 08:08:21 siclib WARNING] Panorama 9C4A4132-a3bfb8a228.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  25%|███▋           | 565/2262 [00:03<00:27, 62.52it/s][12/10/2024 08:08:21 siclib WARNING] Panorama 9C4A4343-535e84392e.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  26%|███▉           | 592/2262 [00:04<00:35, 47.67it/s][12/10/2024 08:08:22 siclib WARNING] Panorama 9C4A4584-050055aed7.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  27%|███▉           | 603/2262 [00:04<00:27, 59.85it/s][12/10/2024 08:08:22 siclib WARNING] Panorama 9C4A4661-e10060e232.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  27%|████           | 611/2262 [00:04<00:25, 64.18it/s][12/10/2024 08:08:22 siclib WARNING] Panorama 9C4A4794-4073b3defd.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  31%|████▌          | 691/2262 [00:07<00:59, 26.54it/s][12/10/2024 08:08:24 siclib WARNING] Panorama 9C4A5522-28d4f2a274.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  31%|████▌          | 697/2262 [00:07<00:49, 31.33it/s][12/10/2024 08:08:24 siclib WARNING] Panorama 9C4A5567-b1079f2234.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  31%|████▋          | 702/2262 [00:07<00:46, 33.46it/s][12/10/2024 08:08:25 siclib WARNING] Panorama 9C4A5606-29aca9f401.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  31%|████▋          | 706/2262 [00:07<00:45, 34.04it/s][12/10/2024 08:08:25 siclib WARNING] Panorama 9C4A5651-6f15b9cfe0.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  32%|████▋          | 715/2262 [00:07<00:44, 34.88it/s][12/10/2024 08:08:25 siclib WARNING] Panorama 9C4A5764-d90aadaa85.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  32%|████▊          | 720/2262 [00:07<00:45, 33.90it/s][12/10/2024 08:08:25 siclib WARNING] Panorama 9C4A5806-241cf17aea.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  33%|████▉          | 741/2262 [00:08<00:45, 33.60it/s][12/10/2024 08:08:26 siclib WARNING] Panorama 9C4A6016-a8c65ec53c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  33%|████▉          | 745/2262 [00:08<00:43, 34.66it/s][12/10/2024 08:08:26 siclib WARNING] Panorama 9C4A6058-9655fe2d47.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  33%|████▉          | 750/2262 [00:08<00:41, 36.78it/s][12/10/2024 08:08:26 siclib WARNING] Panorama 9C4A6100-93ea1576f6.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  34%|█████          | 763/2262 [00:09<00:43, 34.33it/s][12/10/2024 08:08:26 siclib WARNING] Panorama 9C4A6219-8982756f70.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  34%|█████          | 772/2262 [00:09<00:41, 35.69it/s][12/10/2024 08:08:27 siclib WARNING] Panorama 9C4A6299-61d9fa8ec4.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  38%|█████▋         | 853/2262 [00:12<00:45, 30.77it/s][12/10/2024 08:08:29 siclib WARNING] Panorama 9C4A6971-c7c8648015.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  38%|█████▋         | 859/2262 [00:12<00:37, 37.79it/s][12/10/2024 08:08:29 siclib WARNING] Panorama 9C4A7055-459e40b79d.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  40%|█████▉         | 902/2262 [00:13<00:32, 41.73it/s][12/10/2024 08:08:31 siclib WARNING] Panorama 9C4A7451-bea327694b.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  44%|██████▌        | 989/2262 [00:16<00:42, 29.65it/s][12/10/2024 08:08:33 siclib WARNING] Panorama 9C4A8340-466b2b010b.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  44%|██████▏       | 1001/2262 [00:16<00:45, 27.76it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8466-047d9b9fe7.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  44%|██████▏       | 1005/2262 [00:16<00:41, 30.19it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8508-94bd8732c9.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8577-883324c6a9.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  45%|██████▎       | 1011/2262 [00:16<00:35, 35.07it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8619-bd7c0d1e69.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  45%|██████▎       | 1015/2262 [00:17<00:34, 35.75it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8661-7ec1200c12.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  45%|██████▎       | 1020/2262 [00:17<00:34, 36.11it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8703-36789f2c57.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  45%|██████▎       | 1024/2262 [00:17<00:34, 36.38it/s][12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8745-703c2e8c0f.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:34 siclib WARNING] Panorama 9C4A8756-b8fe6b2083.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  46%|██████▍       | 1041/2262 [00:17<00:35, 34.74it/s][12/10/2024 08:08:35 siclib WARNING] Panorama 9C4A8861-7cc9e2a2b8.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  47%|██████▌       | 1056/2262 [00:18<00:32, 36.76it/s][12/10/2024 08:08:35 siclib WARNING] Panorama 9C4A8980-d6903a928c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  48%|██████▊       | 1097/2262 [00:19<00:37, 31.07it/s][12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9219-58ba812cab.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9228-efd7d2c347.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  49%|██████▊       | 1107/2262 [00:19<00:31, 36.23it/s][12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9264-9c3b7bd3d2.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  49%|██████▉       | 1111/2262 [00:19<00:32, 35.28it/s][12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9291-f32b79412e.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  50%|██████▉       | 1124/2262 [00:20<00:32, 35.55it/s][12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9379-4c3a483b6a.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  51%|███████       | 1143/2262 [00:20<00:18, 61.69it/s][12/10/2024 08:08:37 siclib WARNING] Panorama 9C4A9462-d702f5371e.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  51%|███████▏      | 1154/2262 [00:20<00:14, 73.98it/s][12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9541-8a0b9ce706.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9564-d3d17f7ffe.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  52%|███████▎      | 1176/2262 [00:20<00:14, 76.74it/s][12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9655-20dfb2a5ae.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9685-134cc3d806.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  53%|███████▍      | 1207/2262 [00:21<00:11, 89.16it/s][12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9858-33bba1ea4a.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  54%|███████▌      | 1217/2262 [00:21<00:11, 92.13it/s][12/10/2024 08:08:38 siclib WARNING] Panorama 9C4A9949-c6e4b75954.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:38 siclib WARNING] Panorama AG8A0001-b9d45e8f43.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  54%|███████      | 1232/2262 [00:21<00:09, 106.56it/s][12/10/2024 08:08:38 siclib WARNING] Panorama AG8A0045-4ca6c94d86.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  56%|███████▉      | 1276/2262 [00:21<00:11, 88.91it/s][12/10/2024 08:08:39 siclib WARNING] Panorama AG8A0363-816e38f2ca.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:39 siclib WARNING] Panorama AG8A0423-d22bb76809.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  57%|████████      | 1297/2262 [00:21<00:10, 93.50it/s][12/10/2024 08:08:39 siclib WARNING] Panorama AG8A0571-8f8764036f.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  59%|████████▏     | 1327/2262 [00:22<00:11, 81.41it/s][12/10/2024 08:08:39 siclib WARNING] Panorama AG8A0798-380b9c7b9c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  60%|████████▍     | 1358/2262 [00:22<00:10, 87.85it/s][12/10/2024 08:08:40 siclib WARNING] Panorama AG8A1117-96f7c9c72b.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  61%|████████▌     | 1379/2262 [00:22<00:10, 88.15it/s][12/10/2024 08:08:40 siclib WARNING] Panorama AG8A1310-9e2e03985a.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  61%|████████▌     | 1388/2262 [00:22<00:10, 87.16it/s][12/10/2024 08:08:40 siclib WARNING] Panorama AG8A1512-b645869989.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  63%|████████▊     | 1416/2262 [00:23<00:10, 84.29it/s][12/10/2024 08:08:40 siclib WARNING] Panorama AG8A1764-b45fcf0d1a.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  63%|████████▉     | 1435/2262 [00:23<00:09, 85.88it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A1986-c5da35e11c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  64%|████████▉     | 1444/2262 [00:23<00:10, 75.85it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2080-6d5e306005.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  64%|████████▉     | 1454/2262 [00:23<00:09, 81.59it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2203-1d0bd9e253.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2245-f0c4474fcd.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  65%|█████████     | 1463/2262 [00:23<00:09, 80.68it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2313-f260607ae1.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  66%|█████████▏    | 1483/2262 [00:24<00:09, 84.98it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2630-68110f009a.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:41 siclib WARNING] Panorama AG8A2714-a4daaa3c98.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  67%|█████████▎    | 1505/2262 [00:24<00:08, 94.40it/s][12/10/2024 08:08:41 siclib WARNING] Panorama AG8A3134-09486d8287.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:41 siclib WARNING] Panorama AG8A3218-e6a1cb3574.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  68%|█████████▌    | 1541/2262 [00:24<00:07, 97.12it/s][12/10/2024 08:08:42 siclib WARNING] Panorama AG8A3855-9a898390a3.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  69%|█████████▌    | 1551/2262 [00:24<00:07, 91.31it/s][12/10/2024 08:08:42 siclib WARNING] Panorama AG8A4064-2d96e5e316.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  69%|█████████▋    | 1563/2262 [00:24<00:07, 96.76it/s][12/10/2024 08:08:42 siclib WARNING] Panorama AG8A4198-9ef2758b3d.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  70%|█████████    | 1575/2262 [00:25<00:06, 101.63it/s][12/10/2024 08:08:42 siclib WARNING] Panorama AG8A4450-190ac86dd5.jpg not found in data/laval-tonemap or train split.
[12/10/2024 08:08:42 siclib WARNING] Panorama AG8A4467-11d96fb2b3.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  70%|█████████    | 1586/2262 [00:25<00:06, 103.58it/s][12/10/2024 08:08:42 siclib WARNING] Panorama AG8A4719-ccd9e0c1a8.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  72%|██████████    | 1627/2262 [00:25<00:06, 91.49it/s][12/10/2024 08:08:43 siclib WARNING] Panorama AG8A5234-2360147a7c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  74%|██████████▎   | 1676/2262 [00:26<00:06, 90.24it/s][12/10/2024 08:08:43 siclib WARNING] Panorama AG8A6086-257d668461.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  76%|██████████▌   | 1715/2262 [00:26<00:07, 72.22it/s][12/10/2024 08:08:44 siclib WARNING] Panorama AG8A6490-babb5e74d3.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  77%|██████████▊   | 1744/2262 [00:27<00:10, 49.21it/s][12/10/2024 08:08:44 siclib WARNING] Panorama AG8A6845-e970380a94.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  79%|███████████   | 1789/2262 [00:28<00:10, 45.33it/s][12/10/2024 08:08:45 siclib WARNING] Panorama AG8A7272-78d2c0781d.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  79%|███████████   | 1795/2262 [00:28<00:10, 46.05it/s][12/10/2024 08:08:45 siclib WARNING] Panorama AG8A7296-2533a0187c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  80%|███████████▏  | 1814/2262 [00:28<00:09, 48.03it/s][12/10/2024 08:08:46 siclib WARNING] Panorama AG8A7513-d1348b4f80.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  81%|███████████▎  | 1834/2262 [00:29<00:10, 42.35it/s][12/10/2024 08:08:46 siclib WARNING] Panorama AG8A7776-627c511f0e.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  82%|███████████▍  | 1850/2262 [00:29<00:10, 40.05it/s][12/10/2024 08:08:47 siclib WARNING] Panorama AG8A7967-8133e2831c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  82%|███████████▌  | 1866/2262 [00:30<00:10, 39.53it/s][12/10/2024 08:08:47 siclib WARNING] Panorama AG8A8112-0c528e8513.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  85%|███████████▉  | 1923/2262 [00:31<00:13, 25.83it/s][12/10/2024 08:08:49 siclib WARNING] Panorama AG8A8689-c0d7cfb1ba.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  85%|███████████▉  | 1928/2262 [00:31<00:11, 29.28it/s][12/10/2024 08:08:49 siclib WARNING] Panorama AG8A8731-3b7577627c.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  85%|███████████▉  | 1932/2262 [00:32<00:10, 30.24it/s][12/10/2024 08:08:49 siclib WARNING] Panorama AG8A8771-5b70b376bb.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  86%|████████████  | 1940/2262 [00:32<00:10, 31.26it/s][12/10/2024 08:08:50 siclib WARNING] Panorama AG8A8826-ced9970e61.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  86%|████████████  | 1951/2262 [00:32<00:11, 27.40it/s][12/10/2024 08:08:50 siclib WARNING] Panorama AG8A8890-647a533866.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  86%|████████████  | 1955/2262 [00:32<00:10, 28.66it/s][12/10/2024 08:08:50 siclib WARNING] Panorama AG8A8932-951d0ce7ed.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  90%|████████████▌ | 2035/2262 [00:35<00:08, 25.92it/s][12/10/2024 08:08:53 siclib WARNING] Panorama AG8A9675-9c247ed7bf.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  91%|████████████▋ | 2056/2262 [00:37<00:20,  9.85it/s][12/10/2024 08:08:55 siclib WARNING] Panorama AG8A9906-b8c733941d.jpg not found in data/laval-tonemap or train split.
Copying train panoramas:  91%|████████████▋ | 2060/2262 [00:37<00:14, 14.02it/s][12/10/2024 08:08:55 siclib WARNING] Panorama AG8A9942-4849a42054.jpg not found in data/laval-tonemap or train split.
Copying train panoramas: 100%|██████████████| 2262/2262 [00:38<00:00, 59.39it/s]
Copying test panoramas:   0%|                           | 0/148 [00:00<?, ?it/s][12/10/2024 08:08:55 siclib WARNING] Panorama 9C4A0111-99b1013803.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:   7%|█▏                | 10/148 [00:00<00:02, 65.22it/s][12/10/2024 08:08:55 siclib WARNING] Panorama 9C4A1086-fa0e9c5fbf.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  14%|██▌               | 21/148 [00:00<00:02, 60.41it/s][12/10/2024 08:08:56 siclib WARNING] Panorama 9C4A1662-83ea2bdfa7.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  30%|█████▎            | 44/148 [00:03<00:09, 11.23it/s][12/10/2024 08:08:58 siclib WARNING] Panorama 9C4A6597-1e6d8b2f0f.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  49%|████████▉         | 73/148 [00:06<00:10,  7.41it/s][12/10/2024 08:09:01 siclib WARNING] Panorama AG8A0001-3e70e8fe05.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  55%|█████████▉        | 82/148 [00:07<00:08,  7.66it/s][12/10/2024 08:09:02 siclib WARNING] Panorama AG8A1369-99c4d08e50.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  63%|███████████▎      | 93/148 [00:08<00:06,  8.07it/s][12/10/2024 08:09:04 siclib WARNING] Panorama AG8A6635-78aac54b21.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  68%|███████████▍     | 100/148 [00:09<00:07,  6.51it/s][12/10/2024 08:09:05 siclib WARNING] Panorama AG8A7566-95ae4643ec.jpg not found in data/laval-tonemap or test split.
Copying test panoramas:  70%|███████████▊     | 103/148 [00:09<00:05,  7.91it/s][12/10/2024 08:09:05 siclib WARNING] Panorama AG8A8051-39db7d081a.jpg not found in data/laval-tonemap or test split.
Copying test panoramas: 100%|█████████████████| 148/148 [00:11<00:00, 13.04it/s]
Copying val panoramas:   0%|                            | 0/147 [00:00<?, ?it/s][12/10/2024 08:09:07 siclib WARNING] Panorama 9C4A0001-7c62497929.jpg not found in data/laval-tonemap or val split.
Copying val panoramas:  15%|██▊                | 22/147 [00:00<00:03, 32.20it/s][12/10/2024 08:09:07 siclib WARNING] Panorama 9C4A1788-b3bf34938b.jpg not found in data/laval-tonemap or val split.
Copying val panoramas:  46%|████████▋          | 67/147 [00:04<00:04, 19.73it/s][12/10/2024 08:09:11 siclib WARNING] Panorama AG8A0001-bababfcd36.jpg not found in data/laval-tonemap or val split.
Copying val panoramas:  53%|██████████         | 78/147 [00:05<00:03, 22.78it/s][12/10/2024 08:09:12 siclib WARNING] Panorama AG8A3176-2078222492.jpg not found in data/laval-tonemap or val split.
Copying val panoramas: 100%|██████████████████| 147/147 [00:07<00:00, 20.79it/s]
[12/10/2024 08:09:14 siclib INFO] openpano contains 2150/139/143 train/test/val panoramas.
(geocalib) sebastian@SebasJR:~/GeoCalib$ python -m siclib.datasets.create_dataset_from_pano --config-name openpano n_workers=10 device=cuda
[2024-12-10 08:10:09,964][__main__][INFO] - Config:
name: openpano
base_dir: data/openpano
pano_dir: ${.base_dir}/panoramas
pano_train: ${.pano_dir}/train
pano_val: ${.pano_dir}/val
pano_test: ${.pano_dir}/test
perspective_dir: ${.base_dir}/${.name}
perspective_train: ${.perspective_dir}/train
perspective_val: ${.perspective_dir}/val
perspective_test: ${.perspective_dir}/test
train_csv: ${.perspective_dir}/train.csv
val_csv: ${.perspective_dir}/val.csv
test_csv: ${.perspective_dir}/test.csv
camera_model: pinhole
parameter_dists:
  roll:
    type: uniform
    options:
      loc: -0.7853981633974483
      scale: 1.5707963267948966
  pitch:
    type: uniform
    options:
      loc: -0.7853981633974483
      scale: 1.5707963267948966
  vfov:
    type: uniform
    options:
      loc: 0.3490658503988659
      scale: 1.48352986419518
  resize_factor:
    type: uniform
    options:
      loc: 1.2
      scale: 0.5
  shape:
    type: fix
    value:
    - 640
    - 640
images_per_pano: 16
n_workers: 10
device: cuda
overwrite: true
resize_factor: null

[2024-12-10 08:10:09,985][__main__][INFO] - Writing perspective images to data/openpano/openpano/train
Processing train:   0%|                        | 5/2150 [00:08<39:23,  1.10s/it]Error executing job with overrides: ['n_workers=10', 'device=cuda']
concurrent.futures.process._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/sebastian/anaconda3/envs/geocalib/lib/python3.9/concurrent/futures/process.py", line 246, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/sebastian/GeoCalib/siclib/datasets/create_dataset_from_pano.py", line 279, in generate_images_from_pano
    perspective_images = cam.get_img_from_pano(
  File "/home/sebastian/GeoCalib/siclib/geometry/base_camera.py", line 473, in get_img_from_pano
    resized_pano = F.interpolate(pano_img, size=pano_shape, mode=mode)
  File "/home/sebastian/anaconda3/envs/geocalib/lib/python3.9/site-packages/torch/nn/functional.py", line 4552, in interpolate
    return adaptive_avg_pool2d(input, output_size)
  File "/home/sebastian/anaconda3/envs/geocalib/lib/python3.9/site-packages/torch/nn/functional.py", line 1382, in adaptive_avg_pool2d
    return torch._C._nn.adaptive_avg_pool2d(input, _output_size)
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 94.00 MiB. GPU 0 has a total capacity of 23.57 GiB of which 95.56 MiB is free. Including non-PyTorch memory, this process has 2.41 GiB memory in use. Process 2437650 has 3.29 GiB memory in use. Process 2437654 has 3.32 GiB memory in use. Process 2437649 has 3.97 GiB memory in use. Process 2437655 has 1.34 GiB memory in use. Process 2437652 has 2.23 GiB memory in use. Process 2437656 has 2.00 GiB memory in use. Process 2437651 has 2.26 GiB memory in use. Process 2437653 has 1.41 GiB memory in use. Process 2437660 has 248.00 MiB memory in use. Of the allocated memory 2.12 GiB is allocated by PyTorch, and 13.19 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/sebastian/GeoCalib/siclib/datasets/create_dataset_from_pano.py", line 346, in main
    generator.generate_dataset()
  File "/home/sebastian/GeoCalib/siclib/datasets/create_dataset_from_pano.py", line 332, in generate_dataset
    self.generate_split(split=split, parallel_processor=processor)
  File "/home/sebastian/GeoCalib/siclib/datasets/create_dataset_from_pano.py", line 316, in generate_split
    self.infos[split] = parallel_processor.wait_for_completion(futures)
  File "/home/sebastian/GeoCalib/siclib/datasets/create_dataset_from_pano.py", line 84, in wait_for_completion
    results += f.result()
  File "/home/sebastian/anaconda3/envs/geocalib/lib/python3.9/concurrent/futures/_base.py", line 446, in result
    return self.__get_result()
  File "/home/sebastian/anaconda3/envs/geocalib/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
    raise self._exception
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 94.00 MiB. GPU 0 has a total capacity of 23.57 GiB of which 95.56 MiB is free. Including non-PyTorch memory, this process has 2.41 GiB memory in use. Process 2437650 has 3.29 GiB memory in use. Process 2437654 has 3.32 GiB memory in use. Process 2437649 has 3.97 GiB memory in use. Process 2437655 has 1.34 GiB memory in use. Process 2437652 has 2.23 GiB memory in use. Process 2437656 has 2.00 GiB memory in use. Process 2437651 has 2.26 GiB memory in use. Process 2437653 has 1.41 GiB memory in use. Process 2437660 has 248.00 MiB memory in use. Of the allocated memory 2.12 GiB is allocated by PyTorch, and 13.19 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Processing train: 100%|█████████████████████| 2150/2150 [09:17<00:00,  3.86it/s]
(geocalib) sebastian@SebasJR:~/GeoCalib$ 

@veichta
Copy link
Collaborator

veichta commented Dec 12, 2024

Thank you for your kind words and for bringing this to our attention!

It seems that there might be fewer images in the tonemapping step than expected. While we do not use all panoramas from the Laval dataset — since some are not well aligned to gravity — I remember the total count to be closer to 2400 panoramas. It’s possible that the dataset has undergone slight changes since we initially worked with it.

We will investigate this further and provide an update once we have more information. In the meantime, this should not significantly impact your training results, as the majority of the images seem to be available.

@SebastianJanampa
Copy link
Author

Hi @veichta ,
Thanks for your quick answer. I tried to train the model; however, I got some error #17 . Could you point out what I am doing wrong? I debugged, but I couldn't solve it.

@sarlinpe
Copy link
Member

Thanks for reporting this - we were actually linking to the wrong dataset. Please request to download this one instead: http://hdrdb.com/indoor-hdr-photometric/ The documentation is fixed in fbd383d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants