Visual Studio CodeでPythonを実行する際に、Pythonコードに対して決まった引数を指定したいことがあると思います。その際の引数の指定方法について説明します。
まず、Visual Studio Codeのメニューで[Run]-[Configuration]を実行します。

デバッグ環境を聞かれるので「Python」を指定します。

launch.jsonというファイルが追加されます。このファイルに引数を指定します。

例えば、「--input ./assets/phototourism_sample_pairs.txt --output_dir ./assets/output」という引数を指定したい場合は、configurationsの下に、下図のように「"args": ["--input", "./assets/phototourism_sample_pairs.txt", "--output_dir", "./assets/output"]」を追加すれば、引数として指定できます。

以上で、説明は終わりです。