Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N2S3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Hammouda Elbez
N2S3
Commits
a447538f
Commit
a447538f
authored
1 year ago
by
Hammouda Elbez
Browse files
Options
Downloads
Patches
Plain Diff
ExampleMnist2 updated
parent
2ebf5d46
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
n2s3_examples/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/apps/ExampleMnist2.scala
+4
-4
4 additions, 4 deletions
...univ_lille/cristal/emeraude/n2s3/apps/ExampleMnist2.scala
with
4 additions
and
4 deletions
n2s3_examples/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/apps/ExampleMnist2.scala
+
4
−
4
View file @
a447538f
...
@@ -60,7 +60,7 @@ object ExampleMnist2 extends App {
...
@@ -60,7 +60,7 @@ object ExampleMnist2 extends App {
var
log
=
true
var
log
=
true
var
prune
=
false
var
prune
=
false
var
globalIteration
=
1
var
globalIteration
=
1
var
sizeChunk
=
1
000
var
sizeChunk
=
60
000
implicit
val
timeout
=
Config
.
longTimeout
implicit
val
timeout
=
Config
.
longTimeout
alpha
=
0.05F
alpha
=
0.05F
...
@@ -101,13 +101,13 @@ object ExampleMnist2 extends App {
...
@@ -101,13 +101,13 @@ object ExampleMnist2 extends App {
val
unsupervisedLayer1
=
n2s3
.
createNeuronGroup
()
val
unsupervisedLayer1
=
n2s3
.
createNeuronGroup
()
.
setIdentifier
(
"Layer1"
)
.
setIdentifier
(
"Layer1"
)
.
setNumberOfNeurons
(
2
0
)
.
setNumberOfNeurons
(
5
0
)
.
setNeuronModel
(
LIF
,
Seq
(
.
setNeuronModel
(
LIF
,
Seq
(
(
MembranePotentialThreshold
,
15
millivolts
)))
(
MembranePotentialThreshold
,
15
millivolts
)))
val
unsupervisedLayer2
=
n2s3
.
createNeuronGroup
()
val
unsupervisedLayer2
=
n2s3
.
createNeuronGroup
()
.
setIdentifier
(
"Layer2"
)
.
setIdentifier
(
"Layer2"
)
.
setNumberOfNeurons
(
1
0
)
.
setNumberOfNeurons
(
2
0
)
.
setNeuronModel
(
LIF
,
Seq
(
.
setNeuronModel
(
LIF
,
Seq
(
(
MembranePotentialThreshold
,
5
millivolts
)))
(
MembranePotentialThreshold
,
5
millivolts
)))
...
@@ -219,7 +219,7 @@ object ExampleMnist2 extends App {
...
@@ -219,7 +219,7 @@ object ExampleMnist2 extends App {
println
(
"Start Testing cropped "
+
"["
+
iteration
+
"]"
+
" with "
+
Ratio
)
println
(
"Start Testing cropped "
+
"["
+
iteration
+
"]"
+
" with "
+
Ratio
)
benchmarkMonitor
=
n2s3
.
createBenchmarkMonitor
(
unsupervisedLayer
1
)
benchmarkMonitor
=
n2s3
.
createBenchmarkMonitor
(
unsupervisedLayer
2
)
simTime
=
simTime
+
"Test cropped "
+
iteration
simTime
=
simTime
+
"Test cropped "
+
iteration
...
...
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