ml:lobeで超簡単に画像認識
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
ml:lobeで超簡単に画像認識 [2020/11/09] – [FlaskアプリをHerokuにデプロイする流れ] adash333 | ml:lobeで超簡単に画像認識 [2020/11/11] – [herokuで古いバージョンのpipがインストールされてしまう] adash333 | ||
---|---|---|---|
行 237: | 行 237: | ||
.gitignore の書き方 | .gitignore の書き方 | ||
+ | https:// | ||
+ | Linux基本コマンドTips(381): | ||
+ | 【 git clone 】コマンド――Gitのリポジトリを複製する | ||
+ | 2020年03月05日 05時00分 公開 | ||
- | + | https:// | |
+ | git pullを使ってリモートリポジトリと同期する方法【初心者向け】 | ||
+ | 2017/4/12 | ||
行 402: | 行 407: | ||
pipenv --python 3.6 | pipenv --python 3.6 | ||
pipenv install -r ./ | pipenv install -r ./ | ||
+ | pipenv update pip | ||
</ | </ | ||
行 523: | 行 529: | ||
===== predict.py ===== | ===== predict.py ===== | ||
+ | |||
+ | 以下のコードは修正が必要 | ||
< | < | ||
行 778: | 行 786: | ||
===== Heroku ===== | ===== Heroku ===== | ||
+ | |||
+ | https:// | ||
+ | @NOGU626 | ||
+ | 2020年10月25日に更新 | ||
+ | Heroku入門、Flaskアプリをデプロイ | ||
https:// | https:// | ||
行 805: | 行 818: | ||
【herokuコマンド】createからdestroyまで | 【herokuコマンド】createからdestroyまで | ||
+ | ===== herokuで古いバージョンのpipがインストールされてしまう ===== | ||
+ | 私の場合は勝手に | ||
+ | < | ||
+ | Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 | ||
+ | </ | ||
+ | となってしまう。 | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | wheel ? | ||
+ | ---- | ||
+ | Simply replace the tensorflow==1.0.0 line in your requirements.txt with https:// | ||
+ | ---- | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | →ダメだった | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | →ダメだった | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | →ダメだった | ||
+ | |||
+ | やっと見つけた? | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | Filename, size | ||
+ | tensorflow-1.15.3-cp36-cp36m-manylinux2010_x86_64.whl (110.5 MB) | ||
+ | https:// | ||
+ | |||
+ | |||
+ | requirements.txtの | ||
+ | < | ||
+ | tensorflow==1.15.3 | ||
+ | </ | ||
+ | を | ||
+ | < | ||
+ | https:// | ||
+ | </ | ||
+ | に書き換えたら、うまくいった。 | ||
ml/lobeで超簡単に画像認識.txt · 最終更新: 2020/11/11 by adash333