The Azure Code Samples are currently available in English
Sample script to copy a Custom Vision project from one Subscription/Region to another.
To run the script you first install the requirements
pip install -r requirements.txt
To run you need this information:
From the settings page of the source Subscription (where you want to copy from) * Source Project Id * Source Training Key * Source Endpoint, if not south central us
From the settings page of the destination Subscription (where you want to copy to) * Destination Training Key * Destination Endpoint, if not south central us
Then run the python script with the necessary information:
python migrate_project.py -p "<project id>" -s "<source training key>" -d "<destination training key>"
This script will recreate a project with the destination training-key and download/upload all of the tags, regions, and images. It will leave you with a new project in your new subscription with no trained iterations, from here you can train a new iteration.
The migration script assumes you are migrating projects in South Central US. If you need to migrate a project from one region to another then you can specify the endpoints.
For example, to migrate from South Central US to North Europe:
python migrate_project.py -p "<project id>" -s "<source training key>" -se "https://southcentralus.api.cognitive.microsoft.com" -d "<destination training key>" -de "https://northeurope.api.cognitive.microsoft.com"