-
Notifications
You must be signed in to change notification settings - Fork 639
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
add install instructions for Ubuntu, Mac and Windows in the README.md #50
base: master
Are you sure you want to change the base?
Conversation
This add brew install instructions for ffmpeg otherwise it will setup initially but fail after sometimes with error : RuntimeError: Program 'ffmpeg' is not found; perhaps install ffmpeg using 'apt-get install ffmpeg'.
Thanks, we do need something mentioning that ffmpeg has to be installed. However until there are specific instructions each for mac/linux/windows this should be platform agnostic not mac only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this feature should probably grow to be better documentation for all platforms for an easier start. I should be able to test on Ubuntu and Windows 11 this weekend. Adding a file like this seems to like me create a fresh conda environment and install dependancies to run the code and avoids needing pip -r install requirements which seems Ubuntu specific at this time. (base) baselines/Techmore$ cat mac_run.sh conda create -n poke python=3.11 pip install numpy einops matplotlib scikit-image pyboy hnswlib mediapy pandas gymnasium stable-baselines3 tensorflow tensorboard (base) baselines/Techmore$ |
Would love to have a comprehensive setup guide for each platform! |
Updating this topic. I've been able to confirm a nearly 1 line install on most system. Ubuntu ARM / x86 via Multipass, Mac ARM, and Windows x86 through WSL. This code base also download Pokemon Red from archive.org and places it in roms/ in the root and allows ./install.sh to work from root by changes the rom and state locations. This setup does not use env, conda or anything so it affects your native installed software. It uses sudo, you should read it before running it. Windows users must install WSL and change there Memory and Processor value to match there desired environment
1 liner to install
install.sh
|
4. Install ffmpeg on Windows, Mac and Linux | ||
<br>Windows installer found <a href="https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z">here</a> | ||
<br>Mac instructions | ||
<br>```brew install ffmpeg -y``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use MacPorts:
sudo port install ffmpeg
Excited to start programming No intention here to spam but might like notice of something - to avoid discrepancy I'll begin on topic. Seems as though this wouldn't require installation. Don't you detail the code on the video and as my knowledge barely consists of some html at the moment, I'm under the impression you just save it jpeg cxi html etc and you get the program. That being said, my problem is outlined as such and Cc... Lol >>> Attempting maniacally to provide particular feedback and have enjoyed the navigation of the site no less however, I have been unsuccessful other than within the bounds of commentary. I have input on the "AI" implications. I'll make them available here but what can I do to get the notes into collaboration? Pasting from an attempt>>> First "pull request" certainly open to feedback towards where suggestions are considered... To begin with: 1 you are simulating the game and it is credit to the game's remarkable functionality 2 you are in construction of a fractal though going off base when interrupting and taking back direct control of the emulator - you severely need to let it play through for a conclusive result requiring much higher processing to isolate bugs. The "conclusive result" is plural and would contain a variety of them if produced with game and not on emulator - in reference to psychology and projected uncontrolled variables and if-so-facto, there would be no repeat of captures without damage as original is sustainably random and ROM is copy of a single playthrough or chain of events* 3 the fractal is functional entirely from control of the parameters of the reinforced (incentivized) learning and taking it over produces 2 incomplete theories. 4 you want much more processing power to run the simulation to the next bug for data analysis. You don't need to observe the button sequencing immediately, nor playthrough or "story" (elegantly eloquent determination), because it works as a controlled variable and the "story" is the end result, sculpture, or the actual analysis. Once the game is played through, then a determination of the button sequence and story might enhance the outcome's complexity. It produces, not necessarily a V intelligence for one npc, but a stratagem that could model out gameplay that might entirely redeem the whole dynamic on evolution that is sending the game off.... As per psychology on the game and staying on topic. *A fact check might be useful on this |
This add brew install instructions for ffmpeg otherwise it will setup initially but fail after sometimes with error :
RuntimeError: Program 'ffmpeg' is not found; perhaps install ffmpeg using 'apt-get install ffmpeg'.