mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-20 03:56:43 +03:00
Compare commits
No commits in common. "ede07f43cb16140156cc34246c4b5584d72e77a3" and "d43473867b1051e2f84eccb2efebc4fee06dc937" have entirely different histories.
ede07f43cb
...
d43473867b
@ -2,7 +2,7 @@ variable "AMDGPU" {
|
||||
default = "gfx900"
|
||||
}
|
||||
variable "ROCM" {
|
||||
default = "7.1.0"
|
||||
default = "7.1"
|
||||
}
|
||||
variable "HSA_OVERRIDE_GFX_VERSION" {
|
||||
default = ""
|
||||
|
||||
@ -53,7 +53,6 @@
|
||||
"selectOrExport": "Select or Export",
|
||||
"toast": {
|
||||
"success": "Successfully started export. View the file in the exports page.",
|
||||
"view": "View",
|
||||
"error": {
|
||||
"failed": "Failed to start export: {{error}}",
|
||||
"endTimeMustAfterStartTime": "End time must be after start time",
|
||||
|
||||
@ -87,7 +87,7 @@ export default function ReviewCard({
|
||||
position: "top-center",
|
||||
action: (
|
||||
<a href="/export" target="_blank" rel="noopener noreferrer">
|
||||
<Button>{t("export.toast.view")}</Button>
|
||||
<Button>View</Button>
|
||||
</a>
|
||||
),
|
||||
});
|
||||
|
||||
@ -148,9 +148,7 @@ export default function Step3ChooseExamples({
|
||||
// Step 3: Kick off training
|
||||
await axios.post(`/classification/${step1Data.modelName}/train`);
|
||||
|
||||
toast.success(t("wizard.step3.trainingStarted"), {
|
||||
closeButton: true,
|
||||
});
|
||||
toast.success(t("wizard.step3.trainingStarted"));
|
||||
setIsTraining(true);
|
||||
},
|
||||
[step1Data, step2Data, t],
|
||||
|
||||
@ -97,7 +97,7 @@ export default function ExportDialog({
|
||||
position: "top-center",
|
||||
action: (
|
||||
<a href="/export" target="_blank" rel="noopener noreferrer">
|
||||
<Button>{t("export.toast.view")}</Button>
|
||||
<Button>View</Button>
|
||||
</a>
|
||||
),
|
||||
});
|
||||
|
||||
@ -106,9 +106,7 @@ export default function MobileReviewSettingsDrawer({
|
||||
position: "top-center",
|
||||
action: (
|
||||
<a href="/export" target="_blank" rel="noopener noreferrer">
|
||||
<Button>
|
||||
{t("export.toast.view", { ns: "components/dialog" })}
|
||||
</Button>
|
||||
<Button>View</Button>
|
||||
</a>
|
||||
),
|
||||
},
|
||||
|
||||
@ -808,7 +808,6 @@ function FaceAttemptGroup({
|
||||
if (resp.status == 200) {
|
||||
toast.success(t("toast.success.trainedFace"), {
|
||||
position: "top-center",
|
||||
closeButton: true,
|
||||
});
|
||||
onRefresh();
|
||||
}
|
||||
|
||||
@ -104,14 +104,12 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
|
||||
if (modelState == "complete") {
|
||||
toast.success(t("toast.success.trainedModel"), {
|
||||
position: "top-center",
|
||||
closeButton: true,
|
||||
});
|
||||
setWasTraining(false);
|
||||
refreshDataset();
|
||||
} else if (modelState == "failed") {
|
||||
toast.error(t("toast.error.trainingFailed"), {
|
||||
position: "top-center",
|
||||
closeButton: true,
|
||||
});
|
||||
setWasTraining(false);
|
||||
}
|
||||
@ -184,7 +182,6 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
|
||||
setWasTraining(true);
|
||||
toast.success(t("toast.success.trainingModel"), {
|
||||
position: "top-center",
|
||||
closeButton: true,
|
||||
});
|
||||
}
|
||||
})
|
||||
@ -196,7 +193,6 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
|
||||
|
||||
toast.error(t("toast.error.trainingFailedToStart", { errorMessage }), {
|
||||
position: "top-center",
|
||||
closeButton: true,
|
||||
});
|
||||
});
|
||||
}, [model, t]);
|
||||
|
||||
@ -219,9 +219,7 @@ export default function EventView({
|
||||
position: "top-center",
|
||||
action: (
|
||||
<a href="/export" target="_blank" rel="noopener noreferrer">
|
||||
<Button>
|
||||
{t("export.toast.view", { ns: "components/dialog" })}
|
||||
</Button>
|
||||
<Button>View</Button>
|
||||
</a>
|
||||
),
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user