Merge pull request #41 from JonathanSum/main

Adding a comment as a solution for the rebasing issue.
This commit is contained in:
Thomas Simonini
2022-05-30 15:51:04 +02:00
committed by GitHub

View File

@@ -949,7 +949,11 @@
" env_id=env_id, # Name of the environment\n",
" eval_env=eval_env, # Evaluation Environment\n",
" repo_id=repo_id, # id of the model repository from the Hugging Face Hub (repo_id = {organization}/{repo_name} for instance ThomasSimonini/ppo-LunarLander-v2\n",
" commit_message=commit_message)\n"
" commit_message=commit_message)\n",
"\n",
"# Note: if after running the package_to_hub function and it gives an issue of rebasing, please run the following code\n",
"# cd <path_to_repo> && git add . && git commit -m \"Add message\" && git pull \n",
"# And don't forget to do a \"git push\" at the end to push the change to the hub."
],
"metadata": {
"id": "JPG7ofdGIHN8"
@@ -1112,4 +1116,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}