Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bsj-models-for-rubbers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dasharatha.vamshi
bsj-models-for-rubbers
Commits
9e2cc3e2
Commit
9e2cc3e2
authored
Dec 21, 2023
by
dasharatha.vamshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added final pipeline
parent
d73b79d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
README.md
README.md
+7
-0
convert_to_pyc.py
convert_to_pyc.py
+2
-0
main.py
main.py
+2
-2
No files found.
README.md
View file @
9e2cc3e2
# bsj-models-for-rubbers
# To run the script use the command:
# python main.cpython-310.pyc -r "raw-file-path" -v "viscosity-file-path" -sr "skip rows for raw file" -sv "skip rows for viscosity file" -index "size index no" -m "model path"
# Eg : python main.cpython-310.pyc -r fy664g_raw.csv -v fy664g-viscosity.xlsx -sr 0 -sv 2 -index 3294 -m models\fy664g
convert_to_pyc.py
0 → 100644
View file @
9e2cc3e2
import
py_compile
py_compile
.
compile
(
'main.py'
)
\ No newline at end of file
main.py
View file @
9e2cc3e2
...
...
@@ -1916,8 +1916,8 @@ def start_prediction(raw_path, viscosity_path, index_no, raw_skip_rows, viscosit
df_grouped
=
merged_all_sections
(
df_sheet_grouped
,
df_mixer_grouped
,
df_extruder_grouped
,
df_bof_grouped
,
df_pickup_grouped
,
viscosity_df
)
#
load_and_predict(df_grouped, index_no, model_path)
model_trainer
(
df_grouped
,
index_no
,
model_path
)
load_and_predict
(
df_grouped
,
index_no
,
model_path
)
#
model_trainer(df_grouped, index_no, model_path)
except
Exception
as
er
:
logger
.
error
(
f
"Error in main prediction: {str(er)}"
)
raise
Exception
(
str
(
er
))
...
...
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