This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | num_proc = 8 | |
| procs = [] | |
| running = [] | |
| for command in commands: | |
| while (sum(running) >= num_proc): | |
| for i, proc in enumerate(procs): | |
| running[i] = (proc.poll() is None) | |
| time.sleep(1.0) | |
| procs.append(subprocess.Popen(command, shell=True)) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: "vgg16_sbdd" | |
| layer { | |
| name: "data" | |
| type: "Python" | |
| top: "data" | |
| top: "label" | |
| top: "inter" | |
| python_param { | |
| module: "voc_layers" | |
| layer: "SBDDInterSegDataLayer" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # | |
| input: "data" | |
| input_dim: 1 | |
| input_dim: 3 | |
| input_dim: 713 | |
| input_dim: 713 | |
| layer { | |
| name: "conv1_1_3x3_s2" | |
| type: "Convolution" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # | |
| input: "data" | |
| input_dim: 1 | |
| input_dim: 3 | |
| input_dim: 473 | |
| input_dim: 473 | |
| layer { | |
| name: "conv1_1_3x3_s2" | |
| type: "Convolution" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | pdfs=`ls val/*/*_crop.pdf` | |
| for pdf in $pdfs; do | |
| png=${pdf//_crop.pdf/.png} | |
| convert -quiet $pdf $png | |
| echo "$pdf => $png" | |
| done | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | types="easy medium hard" | |
| for t in $types; do | |
| pngs=`ls val/*/*_${t}.png | sort -k2 -th -n` | |
| montage -tile 10x5 -mode Concatenate $pngs prec_rec_${t}_summary.png | |
| echo "export summary of $t done" | |
| done | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | files=`ls val/*/*.pdf` | |
| for f in $files; do | |
| fnew=${f//.pdf/_crop.pdf} | |
| if [ ! -f $fnew ]; then | |
| pdfcrop --noverbose $f $fnew | |
| echo "$f done" | |
| fi | |
| done | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | vl_compilenn('enableImreadJpeg', true, 'enableGpu', true, 'cudaRoot', '/usr/local/cuda',... | |
| 'cudaMethod', 'nvcc', 'enableCudnn', true, 'cudnnRoot', '/home/peiyunh/cudnn',... | |
| 'ImageLibraryCompileFlags',{'-I/home/peiyunh/.local/include/'},... | |
| 'ImageLibraryLinkFlags',{'-L/home/peiyunh/.local/lib/','-ljpeg'}); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | convert favicon.png -define icon:auto-resize=64,48,32,16 favicon.ico | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | defaults write -app Skim SKAutoReloadFileUpdate -boolean true | 
NewerOlder