-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can you provide a colab version #1
Comments
Please |
You can use the code provided in the video. This code works. [1] !pip install pandas --upgrade [2] !pip install fastai --upgrade -q [3] from google.colab import drive [4] !ls '/content/' [5] !ls '/content/GateCrash' [6] path = Path('/content/GateCrash') [7] dls.valid.show_batch(max_n=8, nrows=1) [8] learn = cnn_learner(dls, resnet18, metrics=error_rate) [9] lrs = learn.lr_find(suggest_funcs=(minimum, steep, valley, slide)) [10] learn.fine_tune(2) [11] learn.path [12] learn.export('mymodel.pkl') The numbers infront of each segment representing the cells. Also you might want, that your keypresses/ mouseinputs and images are automaticly stored and sorted into the folders. Also the trained Agend will also only be able to press 1 key at a time. You need to adjust this too. This approach is heavily depending on the base code. e.g. The provided code always presses "w". In FallGuys you don't have multiple keystrokes, because you only press "a" or "d". So what you might want to add:
Also [10] learn.fine_tune(2) : 2 epoch are more then enough, if your agent, don't behave like you want, then you should change the base code. The agent only can do stuff, based on the data it was given. |
No description provided.
The text was updated successfully, but these errors were encountered: