https://github.com/davealdon/tensorflow-model-manager
My code for creating/interacting with tensorflow v2+ models on an M1 Mac
https://github.com/davealdon/tensorflow-model-manager
Last synced: about 1 year ago
JSON representation
My code for creating/interacting with tensorflow v2+ models on an M1 Mac
- Host: GitHub
- URL: https://github.com/davealdon/tensorflow-model-manager
- Owner: DaveAldon
- Created: 2021-08-20T01:21:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-23T01:40:26.000Z (almost 5 years ago)
- Last Synced: 2025-03-26T06:06:35.722Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TensorFlow-Model-Manager
My code for creating/interacting with tensorflow v2+ models on an M1 Mac
### Requirements
- Miniforge (For Arm based compatible python interpreting. This is instead of anaconda): https://github.com/conda-forge/miniforge
- `bash Miniforge3-MacOSX-arm64.sh` on the installation path to install
- [environment.yml](https://raw.githubusercontent.com/mwidjaja1/DSOnMacARM/main/environment.yml) - included in this repo
- `conda env create --file=environment.yml --name tf_m1` on the yml path
- You need a new python environment
- `conda activate tf_m1` to create
- [Tensorflow](https://github.com/apple/tensorflow_macos/releases), such as [v0.1alpha3](https://github.com/apple/tensorflow_macos/releases/tag/v0.1alpha3)
- `pip install --upgrade --force --no-dependencies https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha3/tensorflow_addons_macos-0.1a3-cp38-cp38-macosx_11_0_arm64.whl https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha3/tensorflow_macos-0.1a3-cp38-cp38-macosx_11_0_arm64.whl` this command takes care of the install
- Run `python` and run the command `import tensorflow as tf` and then `print(tf.__version__)` to verifiy install
- You're done with the required installs!
### Commands to remember
- `conda activate tf_m1` to create your python environment
- `conda deactive` to get out of the environment
- `dotnet DiscordChatExporter.Cli.dll export -t -c -f PlainText -o unparsed.txt`