Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Silvan Büchli
HSLU deep Learning
Commits
94e10da3
Commit
94e10da3
authored
Nov 13, 2020
by
Simon van Hemert
Browse files
Auto-saving for simon.vanhemert on branch master from commit
6284d5c3
parent
adafda90
Changes
1
Hide whitespace changes
Inline
Side-by-side
notebooks/Block 0/Checking_Correct_Installation.ipynb
View file @
94e10da3
%% Cell type:markdown id: tags:
### Checking your installation
Please check that the notebook below runs smoothly.
%% Cell type:code id: tags:
```
python
import
sys
sys
.
version
#Should work and give 3.7.
```
%%%% Output: execute_result
'3.7.
7
(default, Ma
y 6
2020,
11:45:54) [MSC v.1916 64 bit (AMD64)
]'
'3.7.
6 | packaged by conda-forge |
(default, Ma
r 23
2020,
23:03:20) \n[GCC 7.3.0
]'
%% Cell type:code id: tags:
```
python
import
tensorflow
as
tf
tf
.
__version__
#Should work and give 2.1.0
```
%%%% Output: e
xecute_result
%%%% Output: e
rror
'2.1.0'
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-95f13b94b4a0> in <module>
----> 1 import tensorflow as tf
2 tf.__version__ #Should work and give 2.1.0
ModuleNotFoundError: No module named 'tensorflow'
%% Cell type:code id: tags:
```
python
import
numpy
as
np
np
.
__version__
#Should work and give something > 1.19
```
%%%% Output: execute_result
'1.19.1'
%% Cell type:code id: tags:
```
python
import
matplotlib.pyplot
as
plt
%
matplotlib
inline
plt
.
scatter
(
range
(
100
),
np
.
sin
(
0.1
*
np
.
array
(
range
(
100
))))
```
%%%% Output: execute_result
<matplotlib.collections.PathCollection at 0x17a7a929508>
%%%% Output: display_data

...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment