vsitzmann / siren

Official implementation of "Implicit Neural Representations with Periodic Activation Functions"
MIT License
1.72k stars 247 forks source link

Missing script argument in example #27

Closed krikru closed 3 years ago

krikru commented 3 years ago

When I run the code python experiment_scripts/train_img.py --model_type=sine given in README.md, I get the error

usage: train_img.py [-h] [-c CONFIG_FILEPATH] [--logging_root LOGGING_ROOT]
                    --experiment_name EXPERIMENT_NAME
                    [--batch_size BATCH_SIZE] [--lr LR]
                    [--num_epochs NUM_EPOCHS]
                    [--epochs_til_ckpt EPOCHS_TIL_CKPT]
                    [--steps_til_summary STEPS_TIL_SUMMARY]
                    [--model_type MODEL_TYPE]
                    [--checkpoint_path CHECKPOINT_PATH]
train_img.py: error: the following arguments are required: --experiment_name
alexanderbergman7 commented 3 years ago

The experiment_name argument is the name of the directory on top of the logging_root folder where logs / results will be written. You can specify whatever name for your experiment that you want, and overwrite it later.