-
Notifications
You must be signed in to change notification settings - Fork 34
Description
CUDA_VISIBLE_DEVICES=3 python satellite_sfm.py --input_folder /workspace/SatelliteSfM/inputs --output_folder /workspace/SatelliteSfM/outputs --run_sfm
Traceback (most recent call last): File "satellite_sfm.py", line 31, in <module> preprocess_image_set(args.output_folder, os.path.join(args.input_folder, 'images'), File "/workspace/SatelliteSfM/preprocess/preprocess_image_set.py", line 119, in preprocess_image_set _preprocess_single_tif(args_it) File "/workspace/SatelliteSfM/preprocess/preprocess_image_set.py", line 58, in _preprocess_single_tif K, W2C = approximate_rpc_locally(meta_dict, lat_minmax, lon_minmax, alt_minmax, File "/workspace/SatelliteSfM/preprocess/approximate_rpc_locally.py", line 82, in approximate_rpc_locally P = _solve_projection_matrix(e, n, u, col, row) File "/workspace/SatelliteSfM/preprocess/approximate_rpc_locally.py", line 55, in _solve_projection_matrix P = np.real(vh[11, :]).reshape((3, 4)) UnboundLocalError: local variable 'vh' referenced before assignment