Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
Signal Denoise with AutoEncoder
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mohammadreza
Signal Denoise with AutoEncoder
Commits
b2889249
Commit
b2889249
authored
3 years ago
by
Mohammadreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr: refactor
parent
a5f1170f
Pipeline
#199
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
extra.py
extra.py
+1
-1
run_auto_encoder.py
run_auto_encoder.py
+1
-1
No files found.
extra.py
View file @
b2889249
...
...
@@ -30,6 +30,6 @@ def iec_maker(data, id_, sps):
file_base
.
set_reaction_data
([
0
],
[
0
],
[
0
])
# file_base.set_gain(gain)
# file_base.set_leadoff(leadoff)
file_base
.
save
(
'blink_removed_iec_
cropped
/'
,
filename
=
id_
)
file_base
.
save
(
'blink_removed_iec_
files
/'
,
filename
=
id_
)
# file_base.save('iec_files/', filename=id_)
return
'success'
This diff is collapsed.
Click to expand it.
run_auto_encoder.py
View file @
b2889249
...
...
@@ -26,7 +26,7 @@ contaminated_file_list = ['./iec_files/1615632656_EyeOpen_1_Other.iec',
]
all_contaminated
,
all_clean
=
[],
[]
for
contaminated_file
in
contaminated_file_list
:
clean_file
=
'blink_removed_iec_
cropped
/'
+
contaminated_file
.
split
(
'/'
)[
-
1
]
clean_file
=
'blink_removed_iec_
files
/'
+
contaminated_file
.
split
(
'/'
)[
-
1
]
labeled_filename
=
contaminated_file
.
replace
(
'iec_files'
,
'label_results'
)
.
replace
(
'iec'
,
'txt'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment