centreborelli / s2p

Satellite Stereo Pipeline
GNU Affero General Public License v3.0
208 stars 67 forks source link

KeyError: 'images' #131

Open diego-gris opened 2 years ago

diego-gris commented 2 years ago

s2p tests/data/input_pair/config.json tile size: 350 350 total number of tiles: 4 (2 x 2)

discarding masked tiles... multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/opt/anaconda3/envs/s2p_new/lib/python3.8/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/Users/diego_gris/workspace/s2p/s2p/initialization.py", line 301, in is_this_tile_useful rpc = cfg['images'][0]['rpcm'] KeyError: 'images' """

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

Traceback (most recent call last): File "/opt/anaconda3/envs/s2p_new/bin/s2p", line 33, in sys.exit(load_entry_point('s2p', 'console_scripts', 's2p')()) File "/Users/diego_gris/workspace/s2p/s2p/cli.py", line 25, in main s2p.main(user_cfg, start_from=args.start_from) File "/Users/diego_gris/workspace/s2p/s2p/init.py", line 547, in main tiles = initialization.tiles_full_info(tw, th, tiles_txt, create_masks=True) File "/Users/diego_gris/workspace/s2p/s2p/initialization.py", line 353, in tiles_full_info tiles_usefulnesses = parallel.launch_calls(is_this_tile_useful, File "/Users/diego_gris/workspace/s2p/s2p/parallel.py", line 102, in launch_calls outputs.append(r.get(timeout)) File "/opt/anaconda3/envs/s2p_new/lib/python3.8/multiprocessing/pool.py", line 771, in get raise self._value KeyError: 'images'