Spaces:
Sleeping
Sleeping
Update vit_Training.py
Browse files- vit_Training.py +2 -0
vit_Training.py
CHANGED
@@ -69,6 +69,8 @@ class Custom_VIT_Model:
|
|
69 |
self.df = pd.concat([self.df, new_entry], ignore_index=True)
|
70 |
self.df.to_csv(self.data_file, index=False)
|
71 |
|
|
|
|
|
72 |
# Check if we have 100 images for retraining
|
73 |
if len(self.df) >= 100:
|
74 |
self.retrain_model()
|
|
|
69 |
self.df = pd.concat([self.df, new_entry], ignore_index=True)
|
70 |
self.df.to_csv(self.data_file, index=False)
|
71 |
|
72 |
+
print(self.training_data)
|
73 |
+
|
74 |
# Check if we have 100 images for retraining
|
75 |
if len(self.df) >= 100:
|
76 |
self.retrain_model()
|