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
9fca1db0
Commit
9fca1db0
authored
7 years ago
by
Lukas Geiger
Browse files
Options
Downloads
Patches
Plain Diff
Use explicit imports for keras layers
parent
974e6029
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
AirShower_WGAN/ShowerGAN.py
+1
-1
1 addition, 1 deletion
AirShower_WGAN/ShowerGAN.py
AirShower_WGAN/utils.py
+3
-3
3 additions, 3 deletions
AirShower_WGAN/utils.py
MNIST_GAN/gan.py
+3
-3
3 additions, 3 deletions
MNIST_GAN/gan.py
with
7 additions
and
7 deletions
AirShower_WGAN/ShowerGAN.py
+
1
−
1
View file @
9fca1db0
import
numpy
as
np
import
numpy
as
np
from
keras.layers
import
*
from
keras.layers
import
BatchNormalization
,
Conv2D
,
Dense
,
GlobalMaxPooling2D
,
Reshape
,
UpSampling2D
from
keras.models
import
Sequential
from
keras.models
import
Sequential
from
keras.optimizers
import
Adam
from
keras.optimizers
import
Adam
from
keras.layers.advanced_activations
import
LeakyReLU
from
keras.layers.advanced_activations
import
LeakyReLU
...
...
This diff is collapsed.
Click to expand it.
AirShower_WGAN/utils.py
+
3
−
3
View file @
9fca1db0
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
keras.layers
import
*
from
keras.layers
import
Input
from
keras.models
import
Model
from
keras.models
import
Model
from
keras.layers.merge
import
_Merge
from
keras.layers.merge
import
_Merge
from
keras
import
backend
as
K
from
keras
import
backend
as
K
...
...
This diff is collapsed.
Click to expand it.
MNIST_GAN/gan.py
+
3
−
3
View file @
9fca1db0
import
numpy
as
np
import
numpy
as
np
import
matplotlib.pyplot
as
plt
import
matplotlib.pyplot
as
plt
from
keras.layers
import
*
from
keras.layers
import
Activation
,
BatchNormalization
,
Conv2D
,
Dense
,
Dropout
,
Flatten
,
Reshape
,
UpSampling2D
from
keras.layers.advanced_activations
import
LeakyReLU
from
keras.layers.advanced_activations
import
LeakyReLU
from
keras.regularizers
import
l1_l2
from
keras.regularizers
import
l1_l2
from
keras.models
import
Sequential
from
keras.models
import
Sequential
...
...
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