Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kaggle Phytoplankton
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Messaoudi Rayan
Kaggle Phytoplankton
Commits
a929c0c2
Commit
a929c0c2
authored
2 years ago
by
Yandi
Browse files
Options
Downloads
Patches
Plain Diff
RNN_35_16
parent
403500f8
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Master into main
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
job.py
+1
-1
1 addition, 1 deletion
job.py
model.py
+0
-1
0 additions, 1 deletion
model.py
train.py
+0
-1
0 additions, 1 deletion
train.py
with
1 addition
and
3 deletions
job.py
+
1
−
1
View file @
a929c0c2
...
...
@@ -26,7 +26,7 @@ mkdir $TMPDIR/projet_dl
rsync -r . $TMPDIR/projet_dl
echo
"
Checking out the correct version of the code commit_id
{
commit_id
}
"
cd $TMPDIR/
p
projet_dl
cd $TMPDIR/projet_dl
git checkout
{
commit_id
}
...
...
This diff is collapsed.
Click to expand it.
model.py
+
0
−
1
View file @
a929c0c2
...
...
@@ -59,7 +59,6 @@ class RNN(nn.Module):
# One time step
out
,
hn
=
self
.
rnn
(
x
,
h0
)
out
=
self
.
fc
(
out
)
print
(
out
.
shape
)
return
out
# Bidirectional LSTM
...
...
This diff is collapsed.
Click to expand it.
train.py
+
0
−
1
View file @
a929c0c2
...
...
@@ -31,7 +31,6 @@ def train(args, model, loader, f_loss, optimizer, device, log_interval = 100):
# Compute the forward pass through the network up to the loss
outputs
=
model
(
inputs
)
print
(
targets
.
shape
)
loss
=
f_loss
(
outputs
,
targets
)
# Backward and optimize
...
...
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