Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HAP_Tutorial_2018
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Josef Schmidt
HAP_Tutorial_2018
Commits
65c74795
Commit
65c74795
authored
7 years ago
by
JGlombitza
Browse files
Options
Downloads
Patches
Plain Diff
add sys
parent
e0d322ef
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
AirShower_WGAN/ShowerGAN.py
+1
-0
1 addition, 0 deletions
AirShower_WGAN/ShowerGAN.py
MNIST_GAN/MNIST_GAN.py
+1
-1
1 addition, 1 deletion
MNIST_GAN/MNIST_GAN.py
with
2 additions
and
1 deletion
AirShower_WGAN/ShowerGAN.py
+
1
−
0
View file @
65c74795
...
@@ -9,6 +9,7 @@ from keras.utils import plot_model
...
@@ -9,6 +9,7 @@ from keras.utils import plot_model
import
keras.backend.tensorflow_backend
as
KTF
import
keras.backend.tensorflow_backend
as
KTF
import
utils
import
utils
import
tensorflow
as
tf
import
tensorflow
as
tf
import
sys
KTF
.
set_session
(
utils
.
get_session
())
# Allows 2 jobs per GPU, Please do not change this during the tutorial
KTF
.
set_session
(
utils
.
get_session
())
# Allows 2 jobs per GPU, Please do not change this during the tutorial
...
...
This diff is collapsed.
Click to expand it.
MNIST_GAN/MNIST_GAN.py
+
1
−
1
View file @
65c74795
...
@@ -6,7 +6,7 @@ import mnist
...
@@ -6,7 +6,7 @@ import mnist
import
matplotlib.pyplot
as
plt
import
matplotlib.pyplot
as
plt
import
keras.backend.tensorflow_backend
as
KTF
import
keras.backend.tensorflow_backend
as
KTF
from
gan
import
build_generator
,
build_discriminator
,
plot_images
,
make_trainable
,
get_session
from
gan
import
build_generator
,
build_discriminator
,
plot_images
,
make_trainable
,
get_session
import
sys
log_dir
=
"
.
"
log_dir
=
"
.
"
KTF
.
set_session
(
get_session
())
# Allows 2 jobs per GPU, Please do not change this during the tutorial
KTF
.
set_session
(
get_session
())
# Allows 2 jobs per GPU, Please do not change this during the tutorial
...
...
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