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
| for i in *.h264; | |
| do | |
| MP4Box -add $i `basename "${i}"`.mp4; | |
| 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
| python ~/tensorflow/tensorflow/examples/image_retraining/retrain.py \ | |
| --bottleneck_dir=bottlenecks_sg \ | |
| --model_dir=inception \ | |
| --output_graph=bottlenecks_sg/retrained_graph.pb \ | |
| --output_labels=bottlenecks_sg/retrained_labels.txt \ | |
| --image_dir multimodal_jpg \ | |
| --summaries_dir summaries_sg |
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
| #!/bin/bash | |
| # Extract jpgs from videos inside categorized folders for Inception training | |
| for d in */ ; | |
| do | |
| for i in $d/*.mp4; | |
| do | |
| mkdir $d/$d; | |
| ffmpeg -i "$i" -r 10 "${d}/${d}/`basename "${i}"-%04d`.jpg"; | |
| done; | |
| done |
NewerOlder