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

phototourism data not optional? #6

Open
christian-rauch opened this issue Jul 2, 2020 · 1 comment
Open

phototourism data not optional? #6

christian-rauch opened this issue Jul 2, 2020 · 1 comment

Comments

@christian-rauch
Copy link

I downloaded the required GL3D part of the training set and ran the training for the first time to generate the matches.

The dataset preparation fails when trying to access the tourism_0001 folder, which is not part of the core training set:

2020-07-02 11:22:54.930044: W Prepare match sets upon request.
 37% (401 of 1073) |#######              | Elapsed Time: 5:26:00 ETA:  11:46:47 50% (542 of 1073) |##########          | Elapsed Time: 6:58:28 ETA:   0:49:24Traceback (most recent call last):
  File "train.py", line 141, in <module>
    tf.compat.v1.app.run()
  File "[...]/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "[...]/absl/app.py", line 299, in run
    _run_main(main, args)
  File "[...]/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "train.py", line 132, in main
    regenerate=FLAGS.regenerate, is_training=FLAGS.is_training, data_split=FLAGS.data_split)
  File "[...]/tfmatch/preprocess.py", line 101, in prepare_match_sets
    visualize=False, global_img_list=global_img_list)
  File "[...]/tfmatch/tools/io.py", line 142, in parse_corr_to_match_set
    matches = read_corr(input_corr)
  File "[...]/tfmatch/tools/io.py", line 118, in read_corr
    with open(file_path, 'rb') as fin:
FileNotFoundError: [Errno 2] No such file or directory: '[...]/GL3D/data/tourism_0001/geolabel/corr.bin'
100% (1073 of 1073) |###################| Elapsed Time: 6:58:29 Time:  6:58:29

Is the phototourism data required for training?

@SONGX1997
Copy link

I downloaded the required GL3D part of the training set and ran the training for the first time to generate the matches.

The dataset preparation fails when trying to access the tourism_0001 folder, which is not part of the core training set:

2020-07-02 11:22:54.930044: W Prepare match sets upon request.
 37% (401 of 1073) |#######              | Elapsed Time: 5:26:00 ETA:  11:46:47 50% (542 of 1073) |##########          | Elapsed Time: 6:58:28 ETA:   0:49:24Traceback (most recent call last):
  File "train.py", line 141, in <module>
    tf.compat.v1.app.run()
  File "[...]/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "[...]/absl/app.py", line 299, in run
    _run_main(main, args)
  File "[...]/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "train.py", line 132, in main
    regenerate=FLAGS.regenerate, is_training=FLAGS.is_training, data_split=FLAGS.data_split)
  File "[...]/tfmatch/preprocess.py", line 101, in prepare_match_sets
    visualize=False, global_img_list=global_img_list)
  File "[...]/tfmatch/tools/io.py", line 142, in parse_corr_to_match_set
    matches = read_corr(input_corr)
  File "[...]/tfmatch/tools/io.py", line 118, in read_corr
    with open(file_path, 'rb') as fin:
FileNotFoundError: [Errno 2] No such file or directory: '[...]/GL3D/data/tourism_0001/geolabel/corr.bin'
100% (1073 of 1073) |###################| Elapsed Time: 6:58:29 Time:  6:58:29

Is the phototourism data required for training?

Hi, I met the same problem, did you solved it?

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

2 participants