-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Kawaeee/streamlit-cpu
Streamlit cpu
- Loading branch information
Showing
3 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,13 +50,15 @@ | |
|Batch Size | 32 | | ||
|Optimizer | ADAM | | ||
|
||
## Reproduction | ||
## Model Reproduction | ||
* In order to reproduce the model, it requires our datasets. You can send me an e-mail at [email protected] if you are interested. | ||
|
||
- Install dependencies | ||
```Bash | ||
pip install -r requirements.txt | ||
``` | ||
- Install dependencies | ||
- ```Remove "+cpu" and "--find-links flag" in requirements.txt to get CUDA support``` | ||
|
||
```Bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
- Run the train.py python script | ||
|
||
|
@@ -65,3 +67,19 @@ | |
``` | ||
|
||
- Open and run the notebook for prediction: `predictor.ipynb` | ||
|
||
## Streamlit Reproduction | ||
- Install dependencies | ||
|
||
```Bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
- Run the streamlit | ||
|
||
```Bash | ||
streamlit run streamlit_app.py | ||
``` | ||
|
||
- Streamlit web application will be host on http://localhost:8501 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters