Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FruitBin
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Guillaume Duret
FruitBin
Commits
b433b11d
Commit
b433b11d
authored
1 year ago
by
Guillaume Duret
Browse files
Options
Downloads
Patches
Plain Diff
bash script to get gt segmentation mask for DF
parent
0a14ee23
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
densefusion_gt_to_segnet.sh
+31
-5
31 additions, 5 deletions
densefusion_gt_to_segnet.sh
with
31 additions
and
5 deletions
densefusion_gt_to_segnet.sh
+
31
−
5
View file @
b433b11d
echo
"Class:
$1
"
;
echo
"id::
$2
"
;
echo
"moving features from /gpfsscratch/rech/uli/ubn15wo/GUIMOD_New_low_1/Generated_Worlds_Training/
$1
/Instance_Mask_resized to /gpfsscratch/rech/uli/ubn15wo/DenseFusion/datasets/linemod/Linemod_preprocessed/segnet_results/
$2_label
/"
echo
"path_gt:
$1
"
echo
"path_result:
$2
"
cp
-r
/gpfsscratch/rech/uli/ubn15wo/GUIMOD_New_low_1/Generated_Worlds_Evaluating/
$1
/Instance_Mask_resized/
*
/gpfsscratch/rech/uli/ubn15wo/DenseFusion/datasets/linemod/Linemod_preprocessed/segnet_results/
$2
_label
/
echo
"moving features from
$1
/class/Instance_Mask_resized to
$2
/id
_label/
"
#cp -r /gpfsscratch/rech/uli/ubn15wo/GUIMOD_New_low_1/Generated_Worlds_Evaluating/$1/Instance_Mask_resized/* /gpfsscratch/rech/uli/ubn15wo/DenseFusion/datasets/linemod/Linemod_preprocessed/segnet_results/$2_label/
mkdir
$2
mkdir
$2
/01_label_yolo/
mkdir
$2
/01_label_gt/
cp
-r
$1
/apple2/Instance_Mask_resized/
*
$2
/01_label_gt/
mkdir
$2
/02_label_yolo/
mkdir
$2
/02_label_gt/
cp
-r
$1
/apricot/Instance_Mask_resized/
*
$2
/02_label_gt/
mkdir
$2
/03_label_yolo/
mkdir
$2
/03_label_gt/
cp
-r
$1
/banana1/Instance_Mask_resized/
*
$2
/03_label_gt/
mkdir
$2
/04_label_yolo/
mkdir
$2
/04_label_gt/
cp
-r
$1
/kiwi1/Instance_Mask_resized/
*
$2
/04_label_gt/
mkdir
$2
/05_label_yolo/
mkdir
$2
/05_label_gt/
cp
-r
$1
/lemon2/Instance_Mask_resized/
*
$2
/05_label_gt/
mkdir
$2
/06_label_yolo/
mkdir
$2
/06_label_gt/
cp
-r
$1
/orange2/Instance_Mask_resized/
*
$2
/06_label_gt/
mkdir
$2
/07_label_yolo/
mkdir
$2
/07_label_gt/
cp
-r
$1
/peach1/Instance_Mask_resized/
*
$2
/07_label_gt/
mkdir
$2
/08_label_yolo/
mkdir
$2
/08_label_gt/
cp
-r
$1
/pear2/Instance_Mask_resized/
*
$2
/08_label_gt/
echo
"moving done"
echo
"moving done"
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