Skip to content

Commit

Permalink
Update the repo with the last classification
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lemaitre committed Nov 27, 2015
1 parent 52ac362 commit 5315b90
Show file tree
Hide file tree
Showing 43 changed files with 747 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_cropped_global_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_local'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_local'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_cropped_local_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='wt_codebook'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_cropped_wt_codebook_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_global_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_local'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_local'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_local_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='wt_codebook'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_aligned_wt_codebook_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_global_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_local'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_local'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_local_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='wt_codebook'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_flatten_wt_codebook_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_non_flatten_global_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_local'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_local'
# Type of codebook
codebook_type='codebook_final'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_non_flatten_local_final_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Name of the dataset
name_dataset='seri'
# Input path
input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_global'
# Output path
output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_global'
# Type of codebook
codebook_type='wt_codebook'

# Keep the directory of the script into a variable
script_dir=$(pwd)

# Try the three different radius
for radius in `seq 1 3`;
do
# Create an automatic script
script_filename_core='/script_lbp_non_flatten_wt_codebook_r_'
script_filename="$script_dir$script_filename_core$radius"
### Create the file
touch $script_filename
### Truncate the file if it is existing
: > $script_filename

printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename
### Make it executable
chmod u+x $script_filename
# Submit the job to the queue
qsub -q batch -pe smp 8 $script_filename
done
Loading

0 comments on commit 5315b90

Please sign in to comment.