Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 1.57 KB

README.md

File metadata and controls

36 lines (35 loc) · 1.57 KB

farm-world-ml

Picks-and-Shovels FarmWorld ML Part Repository

Stacks

  • Python 3.11
  • Tensorflow 2.13.0

Functions

How to use

general

  1. clone this repository
  2. run setup.sh to install requirements.txt

disease_detection

  1. download pre-trained model in disease_detection directory
  1. unzip archive.zip in this directory
  2. run disease_detection/pred.py with img_url to argv[1]
    • python3.11 disease_detection/pred.py "your_img_url"
  3. then result will print in console (sentences)

recommendation

recommend_crop

  1. run recommendation/recommend_crop.py with userId to argv[1]
    • python3.11 recommendation/recommend_crop.py 0
  2. then result will print in console (crop_name or cropId)

recommend_post

  1. run recommendation/recommend_post.py with userId to argv[1]
    • python3.11 recommendation/recommend_post.py 0
  2. then result will print in console (boardId)