Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AVVR-Pipeline-GDP4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
GDP Project 4
AVVR-Pipeline-GDP4
Commits
837f339a
Commit
837f339a
authored
7 months ago
by
mhby1g21
Browse files
Options
Downloads
Patches
Plain Diff
fixed run all steps in edgenet tab
parent
9b7c2a2a
No related branches found
No related tags found
1 merge request
!4
GDP 4.2.10 - Adding Debug mode to GUI.py to run individual modules
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/debug_tool/tabs/edge_net_tab.py
+39
-3
39 additions, 3 deletions
scripts/debug_tool/tabs/edge_net_tab.py
with
39 additions
and
3 deletions
scripts/debug_tool/tabs/edge_net_tab.py
+
39
−
3
View file @
837f339a
...
...
@@ -721,16 +721,52 @@ class EdgeNetTab:
def
run_all_steps
(
self
):
"""
Run all EdgeNet processing steps in sequence
"""
if
self
.
is_processing
:
messagebox
.
showwarning
(
"
Warning
"
,
"
A process is already running!
"
)
return
# Start processing in a separate thread
thread
=
threading
.
Thread
(
target
=
self
.
_run_all_steps_thread
)
thread
.
daemon
=
True
thread
.
start
()
def
_run_all_steps_thread
(
self
):
"""
Run all steps sequentially in a thread
"""
try
:
self
.
update_status
(
"
\n
Starting complete pipeline processing...
"
)
# Run EdgeNet and wait for completion
self
.
update_status
(
"
\n
Step 1: Running EdgeNet...
"
)
self
.
run_edge_net
()
while
self
.
is_processing
:
time
.
sleep
(
0.1
)
# Check EdgeNet completion status
if
self
.
edge_status
.
cget
(
"
text
"
)
==
"
✓ Complete
"
:
# Run Mesh Split and wait for completion
self
.
update_status
(
"
\n
Step 2: Running Mesh Split...
"
)
self
.
run_mesh_split
()
while
self
.
is_processing
:
time
.
sleep
(
0.1
)
# Check Mesh Split completion status
if
self
.
split_status
.
cget
(
"
text
"
)
==
"
✓ Complete
"
:
# Run Blender Flip and wait for completion
self
.
update_status
(
"
\n
Step 3: Running Blender Flip...
"
)
self
.
run_blender_flip
()
while
self
.
is_processing
:
time
.
sleep
(
0.1
)
# Final check
if
self
.
flip_status
.
cget
(
"
text
"
)
==
"
✓ Complete
"
:
self
.
update_status
(
"
\n
Complete pipeline processing finished successfully!
"
)
self
.
tab
.
after
(
0
,
messagebox
.
showinfo
,
"
Success
"
,
"
All processing steps completed successfully!
"
)
except
Exception
as
e
:
self
.
update_status
(
f
"
Error in processing pipeline:
{
str
(
e
)
}
"
)
messagebox
.
showerror
(
"
Error
"
,
f
"
Processing pipeline failed:
{
str
(
e
)
}
"
)
error_msg
=
f
"
Error in processing pipeline:
{
str
(
e
)
}
"
self
.
update_status
(
f
"
\n
{
error_msg
}
"
)
self
.
tab
.
after
(
0
,
messagebox
.
showerror
,
"
Error
"
,
error_msg
)
def
clean_temp_files
(
self
):
"""
Clean up temporary files
"""
...
...
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