Git Product home page Git Product logo

isea's Introduction

紹介動画

フォルダ構成

.
├── README.md # これ
├── config.ini # 設定ファイル: とりあえずよく使いそうなパスを書いた
├── crawler # [いわて大漁ナビ](https://www.suigi.pref.iwate.jp/)からデータをスクレイピングしてくるためのコード類
│   ├── README.md
│   ├── img_crawler.py
│   ├── shikyo_crawler.py
│   ├── shikyo_daily_urls_dict.pkl
│   ├── shikyo_monthly_urls_dict.pkl
│   ├── suion_crawler.py
│   ├── suion_daily_urls_dict.pkl
│   └── suion_monthly_urls_dict.pkl
├── datasets # データ置き場
│   ├── Autoencoder_models
│   ├── data.db
│   ├── db_archives
│   ├── encoded_img.db
│   ├── group_dict.pkl
│   ├── method_dict.pkl
│   ├── satellite_images
│   ├── simirality_dicts
│   └── species_dict.pkl
├── isea_browser # メインの製作物 Flask実装
│   ├── __pycache__
│   ├── isea.py
│   ├── myfunc.py
│   ├── static
│   └── templates
├── isea_browser_streamlit  # streamlitを用いたサブの製作物
│   ├── config.ini
│   ├── isea.py # 練習
│   ├── isea_dashboard.py
│   └── sample.py # サンプル
├── isea_venv # pyenvの仮想環境
│   ├── bin
│   ├── etc
│   ├── include
│   ├── lib
│   ├── pyvenv.cfg
│   └── share
├── requirements.txt # 依存関係ライブラリ
└── utls # 修論書く際に使った小さな実験のファイル
    ├── README.md
    ├── canny_edge.py
    ├── color_hist.py
    ├── config.ini
    └── make_annoy_db.py

動かし方

1. 環境構築

git clone

$ git clone https://github.com/pop-ketle/iSea.git

作業ディレクトリの移動

$ cd iSea

仮想環境作成

$ python3 -m venv isea_venv

仮想環境に入る

$ . isea_venv/bin/activate

必要ライブラリをインストール

$ pip install -r requirements.txt

(datasetsをダウンロード)

datasetsのファイルをiSea直下においてください。
Github経由の人は、datasetsのファイルはGithubに上げてないので、欲しい人は連絡してください。連絡もらったら考えます。

備考

2021/3/3現在、M1 Macだとうまくtensorflowを動かせなかったので、tensorflowを使うisea_dashboard.pyの動作については保証しません。


2. Flask基盤のアプリケーション

iSea(ブラウザ)を起動

フォルダを移動

$ cd isea_browser

アプリをラン

$ python isea.py

ローカルホストにアクセス

基本、http://localhost:5000/ に立つと思います。

3. Streamlit基盤のアプリケーション

フォルダを移動

$ cd isea_browser_streamlit

アプリをラン

$ streamlit run isea_dashboard.py

ローカルホストにアクセス

基本、http://localhost:8501 に立つと思います。


備考

  • 連絡先: [email protected]
    ご不明な点あれば、連絡いただければできる限り対応します

isea's People

Contributors

pop-ketle avatar

Stargazers

 avatar

Watchers

 avatar

isea's Issues

DB内の水揚量の型について

DBの定義ではintにしてるけど'2,239'などのようなデータが入り込んでいるため、実際はstr型になっている。
どこかのタイミングで作り直すべきだけど、後回し。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.