Skip to content

changes for install to celine's macbook#22

Open
celinesin wants to merge 1 commit intodeveloperfrom
celineInstall
Open

changes for install to celine's macbook#22
celinesin wants to merge 1 commit intodeveloperfrom
celineInstall

Conversation

@celinesin
Copy link
Member

I ran mac_buildandrun.sh in console, as recommended in the README.md, but then it complains:

ModuleNotFoundError: No module named 'torch'

Make sure you installed a necessary python modules.
You can use:

python3 -m pip install -r extensions/whisperSpeechRecognition/requirements.txt

extensions/whisperSpeechRecognition/requirements.txt doesn't exist in the repo.

But by uncommenting out torch from the base requirements.txt file, and also the '#+cu116' part, the server seems to be running now.

[notice] To update, run: pip install --upgrade pip
 * Serving Flask app 'app.py' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
Loaded extension: documentation
whisper GPU = False
100%|███████████████████████████████████████| 461M/461M [00:26<00:00, 17.9MiB/s]
whisper: small model loaded
Loaded extension: whisperSpeechRecognition
==================================================
Finished loading extensions, server is running... 
 * Debugger is active!
 * Debugger PIN: 530-372-103
Loaded extension: documentation
whisper GPU = False
whisper: small model loaded
Loaded extension: whisperSpeechRecognition
==================================================
Finished loading extensions, server is running... 
{'name': 'JSON_Zachary', 'layouts': ['01-spring-layoutXYZ', '02-global-layoutXYZ', '03-community-layoutXYZ'], 'layoutsRGB': ['01-spring-layoutRGB', '02-global-layoutRGB', '03-community-layoutRGB'], 'links': ['01-spring-layout_linksXYZ'], 'linksRGB': ['01-spring-layout_linksRGB', '02-global-layout_linksRGB', '03-community-layout_linksRGB'], 'selections': [{'name': 'Officer', 'nodes': ['9', '14', '15', '18', '20', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'], 'layoutname': '03-community-layout', 'labelcolor': [255, 0, 244, 100]}, {'name': 'Mr. Hi', 'nodes': ['0', '1', '2', '3', '4', '5', '6', '7', '8', '10', '11', '12', '13', '16', '17', '19', '21'], 'layoutname': '03-community-layout', 'labelcolor': [81, 0, 255, 100]}], 'labelcount': 2, 'nodecount': 34, 'linkcount': 78, 'graphtitle': '01-spring-layout', 'graphdesc': 'Karateclub toy network', 'legendfiles': [], 'annotationTypes': False}
{'layoutsDD': '0', 'layoutsRGBDD': '0', 'linksDD': '0', 'linksRGBDD': '0', 'selectionsDD': '1', 'slider-label_scale': '438', 'slider-node_size': '288', 'slider-link_transparency': '418', 'activeNode': 1696, 'slider-link_size': '845', 'cbnode': [], 'CGlayouts': '1', 'prot_size': '', 'CGvis': '0', 'analytics': 0, 'annotation-1': 0, 'annotation-2': 0, 'annotation-Operations': 0, 'annotationOperationsActive': False}
links.json loaded
static/projects/JSON_Zachary/layoutsRGB/01-spring-layoutRGB.png loaded
static/projects/JSON_Zachary/layouts/01-spring-layoutXYZ.bmp loaded
links.json loaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant