{"id":1286,"date":"2020-05-28T00:58:28","date_gmt":"2020-05-27T15:58:28","guid":{"rendered":"http:\/\/www.ecobioinfo.com\/?p=1286"},"modified":"2022-06-05T22:12:22","modified_gmt":"2022-06-05T13:12:22","slug":"%e6%b7%b1%e5%b1%a4%e5%ad%a6%e7%bf%92-tensorflow-keras-%e6%a4%8d%e7%89%a9%e5%86%99%e7%9c%9f%e3%81%ae%e8%87%aa%e5%8b%95%e7%9d%80%e8%89%b2%ef%bc%88%ef%bc%93%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.ecobioinfo.com\/?p=1286","title":{"rendered":"\u6df1\u5c64\u5b66\u7fd2 TensorFlow + keras \u690d\u7269\u5199\u771f\u306e\u81ea\u52d5\u7740\u8272\uff08\uff13\uff09"},"content":{"rendered":"<p>\uff08<a href=\"http:\/\/www.ecobioinfo.com\/?p=1248\">\u300c\u6df1\u5c64\u5b66\u7fd2 TensorFlow + keras \u690d\u7269\u5199\u771f\u306e\u81ea\u52d5\u7740\u8272\uff08\uff12\uff09\u300d<\/a>\u306e\u7d9a\u304d\u3067\u3059\u3002\uff09<\/p>\n<p>\u3044\u307e\u307e\u3067\u306e\u81ea\u52d5\u7740\u8272\u306e\u7d50\u679c\u3092\u5229\u7528\u3057\u3066\u7279\u5b9a\u306e\u82b1\u3060\u3051\u3092\u5857\u308a\u3064\u3076\u3059\u5b66\u7fd2\u3092\u8a66\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>(1) \u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<p>\u307e\u305a<a href=\"http:\/\/www.ecobioinfo.com\/?p=1248\">\u81ea\u52d5\u7740\u8272\u306e\u7d50\u679c<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066 Autoencoder \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3002<br \/>\n\uff08Autoencoder\uff1a\u5165\u529b\u5c64\u3068\u51fa\u529b\u5c64\u306b\u540c\u3058\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u3055\u305b\u308b\u3002\uff09<\/p>\n<p><a href=\"https:\/\/www.ecobioinfo.com\/usr\/ai\/colorize\/autoencoder03-5.py\">autoencoder03-5.py(\u8a00\u8a9e Python\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb UTF-8\uff09<\/a><\/p>\n<p>(2) \u5b66\u7fd2\u7528\u30c7\u30fc\u30bf<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u6559\u5e2b\u753b\u50cf\u306f\u5143\u306e\u753b\u50cf\u3068\u540c\u3058\u753b\u50cf\u3067\u3059\u304c\u3001\u30c9\u30af\u30c0\u30df\u306e\u82b1\u306e\u6559\u5e2b\u753b\u50cf\u3060\u3051\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u9ed2\u304f\u5857\u308a\u3064\u3076\u3057\u3066\u8f2a\u90ed\u3092\u30b0\u30ec\u30fc\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\uff09\u5143\u306e\u753b\u50cf \u2192 \u6559\u5e2b\u753b\u50cf<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1287\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TRAIN01.jpg\" alt=\"TRAIN01\" width=\"337\" height=\"104\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TRAIN01.jpg 337w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TRAIN01-300x93.jpg 300w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/p>\n<p>\u2193\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2193\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2193<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1288\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEACH01.jpg\" alt=\"TEACH01\" width=\"336\" height=\"100\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEACH01.jpg 336w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEACH01-300x89.jpg 300w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/p>\n<p>\u5b66\u7fd2\u7528\u753b\u50cf<a href=\"https:\/\/www.ecobioinfo.com\/usr\/ai\/colorize\/colorize03.zip\"> colorize03.zip<\/a><\/p>\n<p>\u3053\u308c\u3092\u5b66\u7fd2\u3055\u305b\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30c9\u30af\u30c0\u30df\u306e\u82b1\u3060\u3051\u3092\u9ed2\u304f\u5857\u308a\u3064\u3076\u3059\u3053\u3068\u306f\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>&nbsp;<\/p>\n<p>(3)\u7d50\u679c<\/p>\n<p>\u5b66\u7fd2\u7d50\u679c\uff08\u30a6\u30a7\u30a4\u30c8\uff09<a href=\"https:\/\/www.ecobioinfo.com\/usr\/ai\/colorize\/autoencoder03-5_weights.h5\">autoencoder03-5_weights.h5<\/a><\/p>\n<p>\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0<a href=\"https:\/\/www.ecobioinfo.com\/usr\/ai\/colorize\/autoencoder03-5test.py\"> autoencoder03-5test.py(\u8a00\u8a9e Python\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb UTF-8\uff09<\/a><\/p>\n<p>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf <a href=\"https:\/\/www.ecobioinfo.com\/usr\/ai\/colorize\/colorize03test.zip\">colorize03test.zip<\/a><\/p>\n<p>\u2193\u30c6\u30b9\u30c8\u7d50\u679c\uff08\u4e00\u90e8\u629c\u7c8b\u3001\u305d\u308c\u305e\u308c\u306e\u4e0a\u6bb5\u304c\u5143\u306e\u753b\u50cf\u3001\u4e0b\u6bb5\u304c\u7d50\u679c\u306e\u753b\u50cf\uff09<\/p>\n<p>\u3010\u30c9\u30af\u30c0\u30df\u306e\u82b1\u3011<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1290\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST01.jpg\" alt=\"TEST01\" width=\"970\" height=\"413\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST01.jpg 970w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST01-300x128.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST01-768x327.jpg 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1291\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST02.jpg\" alt=\"TEST02\" width=\"972\" height=\"412\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST02.jpg 972w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST02-300x127.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST02-768x326.jpg 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1292\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST03.jpg\" alt=\"TEST03\" width=\"973\" height=\"415\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST03.jpg 973w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST03-300x128.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/TEST03-768x328.jpg 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/p>\n<p>\u8f2a\u90ed\u304c\u5c11\u3057\u9ec4\u8272\u306b\u306a\u3063\u3066\u307e\u3059\u304c\u3001 \u307b\u307c\u4e88\u5b9a\u901a\u308a\u306b\u30c9\u30af\u30c0\u30df\u306e\u82b1\u304c\u7279\u7570\u7684\u306b\u9ed2\u304f\u5857\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3010\u305d\u306e\u4ed6\u306e\u82b1\u3084\u8449\u3011<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1293\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test11.jpg\" alt=\"test11\" width=\"970\" height=\"411\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test11.jpg 970w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test11-300x127.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test11-768x325.jpg 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1294\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test12.jpg\" alt=\"test12\" width=\"973\" height=\"414\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test12.jpg 973w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test12-300x128.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test12-768x327.jpg 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1312\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test13-1.jpg\" alt=\"test13\" width=\"968\" height=\"413\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test13-1.jpg 968w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test13-1-300x128.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test13-1-768x328.jpg 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/p>\n<p>\u4e88\u5b9a\u901a\u308a\u3001\u305d\u306e\u4ed6\u306e\u82b1\u3084\u8449\u306f\u30c9\u30af\u30c0\u30df\u306e\u82b1\u3088\u3046\u306b\u9ed2\u304f\u5857\u3089\u308c\u3066\u306f\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u3069\u306e\u3088\u3046\u306a\u30d4\u30af\u30bb\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u8b58\u5225\u3057\u3066\u308b\u306e\u304b\u3092\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56f3\u5f62\u3084\u4e0b\u624b\u306a\u7d75\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1298\" src=\"http:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test20.jpg\" alt=\"test20\" width=\"970\" height=\"397\" srcset=\"https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test20.jpg 970w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test20-300x123.jpg 300w, https:\/\/www.ecobioinfo.com\/wordpress\/wp-content\/uploads\/2020\/05\/test20-768x314.jpg 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u767d\u306f\u9ec4\u8272\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u304a\u305d\u3089\u304f\u5b66\u7fd2\u7528\u30c7\u30fc\u30bf\u306b\u9ec4\u8272\u3044\u82b1\u3084\u8449\u306e\u7dd1\u304c\u591a\u3044\u3053\u3068\u304c\u5f71\u97ff\u3057\u3066\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u7121\u6761\u4ef6\u3067\u767d\u3092\u9ed2\u306b\u5909\u3048\u3066\u306f\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e0b\u624b\u306a\u7d75\u3067\u3082\u5f62\u72b6\u304c\u30c9\u30af\u30c0\u30df\u306b\u4f3c\u3066\u3001\u304b\u3064\u80cc\u666f\u304c\u6fc3\u3044\u7dd1\u306e\u3082\u306e\u304c\u9ed2\u304f\u5857\u308a\u3064\u3076\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u540c\u3058\u5f62\u72b6\u3067\u3082\u80cc\u666f\u306e\u8272\u3082\u5f71\u97ff\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u304a\u305d\u3089\u304f\u80cc\u666f\u306b\u30c9\u30af\u30c0\u30df\u306e\u8449\u306b\u8fd1\u3044\u8272\uff08\u6fc3\u3044\u7dd1\uff09\u304c\u3042\u308b\u3068\u9ed2\u306b\u67d3\u307e\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010\u958b\u767a\u74b0\u5883\u3011<\/p>\n<p>Ubuntu 18.04.1 LTS\u3001Python 3.6.6\u3001tensorflow-gpu 1.8.0\u3001Keras 2.2.4<\/p>\n<p>\u753b\u50cf\u8868\u793a\u306f IPython.display, jupyter notebook \u3067\u5b9f\u884c<\/p>\n<p>\uff082020\/5\/27 S.Onda\uff09<\/p>\n<p>\uff082020\/5\/29 S.Onda \u8ffd\u8a18\u3001\u4e00\u90e8\u4fee\u6b63\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"\uff08\u300c\u6df1\u5c64\u5b66\u7fd2 TensorFlow + keras \u690d\u7269\u5199\u771f\u306e\u81ea\u52d5\u7740\u8272\uff08\uff12\uff09\u300d\u306e\u7d9a\u304d\u3067\u3059\u3002\uff09 \u3044\u307e\u307e\u3067\u306e\u81ea\u52d5\u7740\u8272\u306e\u7d50\u679c\u3092\u5229\u7528\u3057\u3066\u7279\u5b9a\u306e\u82b1\u3060\u3051\u3092\u5857\u308a\u3064\u3076\u3059\u5b66\u7fd2\u3092\u8a66\u307f\u307e\u3057\u305f\u3002 (1) \u30d7\u30ed\u30b0\u30e9\u30e0 \u307e\u305a\u81ea\u52d5\u7740\u8272\u306e\u7d50\u679c\u3092\u53c2\u8003\u306b\u3057 &#8230;","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1286","post","type-post","status-publish","format-standard","hentry","category-ai_ecobio"],"_links":{"self":[{"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/posts\/1286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1286"}],"version-history":[{"count":17,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/posts\/1286\/revisions"}],"predecessor-version":[{"id":1314,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=\/wp\/v2\/posts\/1286\/revisions\/1314"}],"wp:attachment":[{"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecobioinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}