<jupyter_start><jupyter_text>かぶと スクリプト実行環境に移動<jupyter_code>cd /root/userspace/team11/tensorflow-for-poets-2/<jupyter_output>/root/userspace/team11/tensorflow-for-poets-2<jupyter_text>かぶと画像をモデルに学習させるすでに学習済なので、追加画像がない場合は再学習不要<jupyter_code>!python3 scripts/retrain.py --output_graph=tf_files/retrained_graph.pb --output_labels=tf_files/retrained_labels.txt --image_dir=tf_files/kabuto<jupyter_output>INFO:tensorflow:Looking for images in '01'
INFO:tensorflow:Looking for images in '02'
INFO:tensorflow:Looking for images in '03'
INFO:tensorflow:Looking for images in '04'
INFO:tensorflow:Looking for images in '05'
INFO:tensorflow:Looking for images in '06'
INFO:tensorflow:Looking for images in '07'
INFO:tensorflow:Looking for images in '08'
INFO:tensorflow:Looking for images in '09'
INFO:tensorflow:Looking for images in '10'
WARNING:tensorflow:WARNING: Folder has less than 20 images, which may cause issues.
INFO:tensorflow:Looking for images in '11'
2019-03-16 02:39:13.252024: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
2019-03-16 02:39:13.307353: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-03-16 02:39:13.307638[...]<jupyter_text>画像を次に折るべきステップを動画で紹介例）08ステップ目の画像→次の折り方動画を再生<jupyter_code>!python3 scripts/label_image.py --image tf_files/answer/08_answer.jpeg<jupyter_output>2019-03-16 04:16:54.453084: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
2019-03-16 04:16:54.514099: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-03-16 04:16:54.514389: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: 
name: GRID K520 major: 3 minor: 0 memoryClockRate(GHz): 0.797
pciBusID: 0000:00:03.0
totalMemory: 3.94GiB freeMemory: 3.90GiB
2019-03-16 04:16:54.514431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0, compute capability: 3.0)
2019-03-16 04:16:56.129713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (dev[...]
{'fraction_non_alphanumeric': 0.10690596956691377, 'fraction_numerical': 0.10612563402262973, 'mean_word_length': 6.082872928176796, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '415847', 'license': 'Apache-2.0', 'n_tokens_mistral': 1165, 'n_tokens_neox': 999, 'n_words': 225, 'path': 'kabuto.ipynb', 'repo_name': 'usaribbon/tensorflow-for-poets-2', 'size': '2563'}