huggingface/deep-rl-class

unit8-part1

poornimag238 opened this issue · 4 comments

week8_Parser eror

I have an error with parser. Please let me know the solution for this.

The above one is corrected with the following code
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--repo-id", type=str, default="ThomasSimonini/ppo-CartPole-v1", help="id of the model repository from the Hugging Face Hub {username/repo_name}")

But got the error in the next lines.
WEEK8_2

Suggestions please

Please suggest the corrections

Hey there 👋 you must not run these code in the colab itself but create a file ppo.py and put the code inside as explained at the end of the notebook