diff --git a/examples/contrib/cifar10/README.md b/examples/contrib/cifar10/README.md index afee90d4f82..9688f90970a 100644 --- a/examples/contrib/cifar10/README.md +++ b/examples/contrib/cifar10/README.md @@ -131,4 +131,14 @@ python -u -m torch.distributed.launch --nproc_per_node=2 --use_env main.py run - --resume-from=/tmp/output-cifar10/resnet18_backend-nccl-2_stop-on-1000/training_checkpoint_1000.pt ``` -Similar commands can be adapted for other cases. \ No newline at end of file +Similar commands can be adapted for other cases. + +## Trains fileserver + +If `Trains` server is used (i.e. `--with_trains` argument), the configuration to upload artifact must be done by +modifying the `Trains` configuration file `~/trains.config` generated by `trains-init`. According to the +[documentation](https://allegro.ai/docs/examples/reporting/artifacts/), the `output_uri` argument can be +configured in `sdk.development.default_output_uri` to fileserver uri. If server is self-hosted, `Trains` fileserver uri is +`http://localhost:8081`. + +For more details, see https://allegro.ai/docs/examples/reporting/artifacts/ \ No newline at end of file diff --git a/examples/references/classification/imagenet/NOTES_Trains.md b/examples/references/classification/imagenet/NOTES_Trains.md index 073bffe0d5e..2c6e88ccf14 100644 --- a/examples/references/classification/imagenet/NOTES_Trains.md +++ b/examples/references/classification/imagenet/NOTES_Trains.md @@ -67,6 +67,16 @@ export TRAINS_OUTPUT_PATH=/path/to/output/trains This environment variable helps to choose Trains as experiment tracking system among all others. +### Trains fileserver setup + +The configuration to upload artifact must be done by modifying the `trains` configuration file `~/trains.config` +generated by `trains-init`. According to the +[documentation](https://allegro.ai/docs/examples/reporting/artifacts/), the `output_uri` argument can be +configured in `sdk.development.default_output_uri` to fileserver uri. If server is self-hosted, `Trains` fileserver uri is +`http://localhost:8081`. + +For more details, see https://allegro.ai/docs/examples/reporting/artifacts/ + ### Run the code #### Training on single node and single GPU diff --git a/examples/references/segmentation/pascal_voc2012/NOTES_Trains.md b/examples/references/segmentation/pascal_voc2012/NOTES_Trains.md index 7253738b070..bf2861dfab8 100644 --- a/examples/references/segmentation/pascal_voc2012/NOTES_Trains.md +++ b/examples/references/segmentation/pascal_voc2012/NOTES_Trains.md @@ -85,6 +85,16 @@ export TRAINS_OUTPUT_PATH=/path/to/output/trains This environment variable helps to choose Trains as experiment tracking system among all others. +### Trains fileserver setup + +The configuration to upload artifact must be done by modifying the `trains` configuration file `~/trains.config` +generated by `trains-init`. According to the +[documentation](https://allegro.ai/docs/examples/reporting/artifacts/), the `output_uri` argument can be +configured in `sdk.development.default_output_uri` to fileserver uri. If server is self-hosted, `Trains` fileserver uri is +`http://localhost:8081`. + +For more details, see https://allegro.ai/docs/examples/reporting/artifacts/ + ### Run the code #### Training on single node and single GPU