こすたろーんエンジニアの試行錯誤部屋

作成物の備忘録を書いていきますー

Batch setting of multiple arguments in abseil with flagfile

contents

スポンサーリンク

abstract

How to process arguments using abseil and text files

requirement

Jetson Xavier NX
ubuntu18.04
docker
python3.x
pytorch
->The pytrorch environment on Jetson Xavier NX is shown below.
technoxs-stacker.hatenablog.com

2.procedure

2.1 Write argument settings in a text file
2.2 Specify text file at python runtime

2.1 Write argument settings in a text file

--arch=resnet50
--gpu=0
--batch_size=8
--print_freq=10
--pred_dim=256

2.2 Specify text file at python runtime

CUDA_VISIBLE_DEVICES=0 python3 main_simsiam_single.py --flagfile ./config/simsiam.txt

スポンサーリンク

参考

abseil.io xvideos.hatenablog.com github.com