Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
instance_segmentation_classic
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
Maciej Wielgosz
instance_segmentation_classic
Commits
85022786
Commit
85022786
authored
2 years ago
by
Maciej Wielgosz
Browse files
Options
Downloads
Patches
Plain Diff
update for instances
parent
6da2187d
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
run_all_fine_grained.sh
+9
-4
9 additions, 4 deletions
run_all_fine_grained.sh
with
9 additions
and
4 deletions
run_all_fine_grained.sh
+
9
−
4
View file @
85022786
...
@@ -226,8 +226,8 @@ mkdir -p $data_folder/results/instance_segmented_point_clouds
...
@@ -226,8 +226,8 @@ mkdir -p $data_folder/results/instance_segmented_point_clouds
for
instance_segmented_point_cloud
in
$data_folder
/instance_segmented_point_clouds/
*
;
do
for
instance_segmented_point_cloud
in
$data_folder
/instance_segmented_point_clouds/
*
;
do
# get the name of the instance segmented point cloud
# get the name of the instance segmented point cloud
instance_segmented_point_cloud_name
=
$(
basename
$instance_segmented_point_cloud
)
instance_segmented_point_cloud_name
=
$(
basename
$instance_segmented_point_cloud
)
# get the name of the instance segmented point cloud without the extension
# get the name of the instance segmented point cloud without the extension
and add the suffix instance_segmented
instance_segmented_point_cloud_name_no_ext
=
"
${
instance_segmented_point_cloud_name
%.*
}
"
instance_segmented_point_cloud_name_no_ext
=
"
${
instance_segmented_point_cloud_name
%.*
}
.instance_segmented
"
# move the instance segmented point cloud to the instance segmented point clouds folder
# move the instance segmented point cloud to the instance segmented point clouds folder
find
$instance_segmented_point_cloud
/
-maxdepth
1
-type
f
-name
'*.ply'
-exec
mv
{}
$data_folder
/results/instance_segmented_point_clouds/
$instance_segmented_point_cloud_name_no_ext
.ply
\;
find
$instance_segmented_point_cloud
/
-maxdepth
1
-type
f
-name
'*.ply'
-exec
mv
{}
$data_folder
/results/instance_segmented_point_clouds/
$instance_segmented_point_cloud_name_no_ext
.ply
\;
# map the instance segmented point cloud to las file
# map the instance segmented point cloud to las file
...
@@ -257,6 +257,11 @@ for segmented_point_cloud_in_ply in $data_folder/results/segmented_point_clouds/
...
@@ -257,6 +257,11 @@ for segmented_point_cloud_in_ply in $data_folder/results/segmented_point_clouds/
--writers
.las.extra_dims
=
all
--writers
.las.extra_dims
=
all
done
done
echo
" "
echo
"Done"
echo
"Done"
echo
"Results are in
$data_folder
/results"
# print path to the results folder and the subfolders
\ No newline at end of file
echo
"Results can be found here:
$data_folder
/results"
echo
"Results containing the input point clouds can be found here:
$data_folder
/results/input_data"
echo
"Results containing the segmented point clouds can be found here:
$data_folder
/results/segmented_point_clouds"
echo
"Results containing the instance segmented point clouds can be found here:
$data_folder
/results/instance_segmented_point_clouds"
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