CaesarCloudSync commited on
Commit
4b734ff
1 Parent(s): 9d9eab7

CaesarAI Fixed I think

Browse files
CaesarObjectDetection/CaesarYolo.py CHANGED
@@ -10,7 +10,7 @@ class CaesarYolo:
10
  self.CONFIDENCE = 0.5
11
  self.SCORE_THRESHOLD = 0.5
12
  self.IOU_THRESHOLD = 0.5
13
- self.current_dir = os.path.realpath(__file__).replace(f"\\CaesarYolo.py","")
14
  config_path = f"{self.current_dir}/cfg/yolov3.cfg"
15
  weights_path = f"{self.current_dir}/weights/yolov3.weights"
16
  self.font_scale = 1
 
10
  self.CONFIDENCE = 0.5
11
  self.SCORE_THRESHOLD = 0.5
12
  self.IOU_THRESHOLD = 0.5
13
+ self.current_dir = os.path.realpath(__file__).replace(f"/CaesarYolo.py","")
14
  config_path = f"{self.current_dir}/cfg/yolov3.cfg"
15
  weights_path = f"{self.current_dir}/weights/yolov3.weights"
16
  self.font_scale = 1