Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,33 +2,6 @@ import streamlit as st
|
|
2 |
from graphviz import Digraph
|
3 |
|
4 |
|
5 |
-
st.markdown("""
|
6 |
-
# Imperative?
|
7 |
-
Torch is more popular since its imperative which is often easier to understand.
|
8 |
-
What does imperative mean with respect to programming?
|
9 |
-
The open source community is amazing at solving for gaps. Competition is healthy since frameworks evolve.
|
10 |
-
Theano, Keras -> TF and Keras -> Pytorch and GPU libs.
|
11 |
-
Early was great, but hard to teach since they define computational graph up front.
|
12 |
-
Hard to debug.
|
13 |
-
Pytorch was strongest to use normal python. Everything you know works on GPU when necessary which causes a huge leap in teaching.
|
14 |
-
Pytorch is not easy for newcomers or researchers. API however writes NN in three lines of code using progressive API's
|
15 |
-
Fast AI library was critical.
|
16 |
-
Are we still limited by python? Is Swift an alternative? Torch or TF? Hard to say.
|
17 |
-
- Vision for tensorflow was good.
|
18 |
-
- Pytorch features interactive computation
|
19 |
-
- TF eager is tentimes slower than pytorch - caution might be dead end.
|
20 |
-
- Look at the code, develop your own perspective.
|
21 |
-
- SWIFT could be layer above GPU and be great.
|
22 |
-
|
23 |
-
# GPU Setup Instructions for NVIDIA GPU RTX 3070+
|
24 |
-
|
25 |
-
1. Upgrade pip: python.exe -m pip install --upgrade pip
|
26 |
-
2. Upgrade torch: C:\Users\aaron>pip install --upgrade torch
|
27 |
-
3. Upgrade torchvision: pip install --upgrade torchvision
|
28 |
-
4. Upgrade torchaudio: pip install --upgrade torchaudio
|
29 |
-
|
30 |
-
""")
|
31 |
-
|
32 |
st.markdown("""
|
33 |
# 👋 Two easy ways to turbo boost your AI learning journey! 💻
|
34 |
# 🌐 AI Pair Programming
|
|
|
2 |
from graphviz import Digraph
|
3 |
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
st.markdown("""
|
6 |
# 👋 Two easy ways to turbo boost your AI learning journey! 💻
|
7 |
# 🌐 AI Pair Programming
|