nhradek commited on
Commit
4da9eb0
·
verified ·
1 Parent(s): 59131c3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -9,7 +9,7 @@ The model was trained on around 300 FLUX images and 300 photographs from Unsplas
9
  Accuracy varies depending on the dataset but can be anywhere from 80%-90% depending on the dataset you use.
10
 
11
  Methods include fit, predict, score, and predict_proba. First, load an image using PIL (Pillow) and then store using an array. Load the class using joblib and then predict.
12
- The model is already pretrained but can be trained again using fit.
13
 
14
  ```python
15
  model = joblib.load("flux_classifier.pkl")
 
9
  Accuracy varies depending on the dataset but can be anywhere from 80%-90% depending on the dataset you use.
10
 
11
  Methods include fit, predict, score, and predict_proba. First, load an image using PIL (Pillow) and then store using an array. Load the class using joblib and then predict.
12
+ The model is already pretrained but can be trained again using fit. The images have to be resized to 512x512 before prediction, otherwise the model will give an error.
13
 
14
  ```python
15
  model = joblib.load("flux_classifier.pkl")