Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HSLU deep Learning
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthias de Paolis
HSLU deep Learning
Commits
9031bc8c
Commit
9031bc8c
authored
3 years ago
by
Mirko Birbaumer
Browse files
Options
Downloads
Patches
Plain Diff
adapted tensorflow version
parent
4fe1709d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notebooks/Block_0/Checking_Correct_Installation.ipynb
+9
-16
9 additions, 16 deletions
notebooks/Block_0/Checking_Correct_Installation.ipynb
with
9 additions
and
16 deletions
notebooks/Block_0/Checking_Correct_Installation.ipynb
+
9
−
16
View file @
9031bc8c
...
...
@@ -32,28 +32,28 @@
},
{
"cell_type": "code",
"execution_count":
5
,
"execution_count":
3
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'2.
4
.1'"
"'2.
7
.1'"
]
},
"execution_count":
5
,
"execution_count":
3
,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import tensorflow as tf\n",
"tf.__version__ #Should work and give 2.
4
.1"
"tf.__version__ #Should work and give 2.
7
.1"
]
},
{
"cell_type": "code",
"execution_count":
3
,
"execution_count":
4
,
"metadata": {},
"outputs": [
{
...
...
@@ -62,7 +62,7 @@
"'1.19.1'"
]
},
"execution_count":
3
,
"execution_count":
4
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -74,16 +74,16 @@
},
{
"cell_type": "code",
"execution_count":
4
,
"execution_count":
5
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.collections.PathCollection at 0x7f
f7a900c99
0>"
"<matplotlib.collections.PathCollection at 0x7f
ec50d7705
0>"
]
},
"execution_count":
4
,
"execution_count":
5
,
"metadata": {},
"output_type": "execute_result"
},
...
...
@@ -105,13 +105,6 @@
"%matplotlib inline\n",
"plt.scatter(range(100), np.sin(0.1 * np.array(range(100))))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
%% 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
'3.7.6 | packaged by conda-forge | (default, Mar 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.
4
.1
tf
.
__version__
#Should work and give 2.
7
.1
```
%% Output
'2.
4
.1'
'2.
7
.1'
%% Cell type:code id: tags:
```
python
import
numpy
as
np
np
.
__version__
#Should work and give something > 1.19
```
%% Output
'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
<matplotlib.collections.PathCollection at 0x7f
f7a900c99
0>
<matplotlib.collections.PathCollection at 0x7f
ec50d7705
0>
%% Cell type:code id: tags:
```
python
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment