Skip to content

Commit

Permalink
fix tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdfc committed Sep 4, 2022
1 parent e0d0a39 commit b155330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from UserInterface import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import QThread, pyqtSignal, pyqtSlot
from PyQt5.QtCore import pyqtSlot
from PyQt5.QtWidgets import (
QMessageBox,
QFileDialog,
Expand Down Expand Up @@ -35,6 +35,7 @@ def __init__(self):
self.ui.leNumTest.setValidator(QIntValidator(0, 500, self))
self.ui.leOutlierRate.setValidator(QDoubleValidator(0.1, 0.5, 2, self))
self.ui.lbProgress.setText('就绪')
self.ui.lbImage.setScaledContents(True)

self.ui.leNumTrain.setText('200')
self.ui.leNumTrain.editingFinished.emit()
Expand Down
2 changes: 1 addition & 1 deletion OutlierDetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

PROJ_DIR = P(__file__).parent
TMP_DIR = PROJ_DIR.joinpath("tmp")
KEY_MODEL_NAME = "model_name"
TMP_DIR.mkdir(parents=True, exist_ok=True)


@dataclass
Expand Down

0 comments on commit b155330

Please sign in to comment.