Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image change and tooltips text #296

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified frontend/src/assets/images/hot_team_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
label={
APP_CONTENT.models.modelsDetailsCard.properties.accuracy.title
}
tooltip={
APP_CONTENT.models.modelsDetailsCard.properties.accuracy.tooltip
}
value={trainingAccuracy}
isAccuracy
/>
Expand Down Expand Up @@ -181,6 +184,10 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
APP_CONTENT.models.modelsDetailsCard.properties.currentDatasetSize
.title
}
tooltip={
APP_CONTENT.models.modelsDetailsCard.properties.currentDatasetSize
.tooltip
}
value={chips_length}
/>
{/* Animate the status when it's in progress. */}
Expand All @@ -197,6 +204,10 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
label={
APP_CONTENT.models.modelsDetailsCard.properties.sourceImage.title
}
tooltip={
APP_CONTENT.models.modelsDetailsCard.properties.sourceImage
.tooltip
}
value={source_imagery}
isTMS
/>
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/utils/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,35 +230,35 @@ export const APP_CONTENT = {
properties: {
zoomLevels: {
title: "Zoom Levels",
tooltip: "",
tooltip: "Those are the zoom level tiles imagery that was used when training this model",
},
epochs: {
title: "Epochs",
tooltip: "",
tooltip: "Refers to the total number of times that the whole training datasets has been learned by the model",
},
contactSpacing: {
title: "Contact Spacing",
tooltip: "",
tooltip: "The distance in pixels to extend the area around each building. This will be used to find points where buildings come into contact or are in close proximity to one another. For example, entering '8' will explore areas within 8 pixels outside the original building shapes to detect nearby buildings",
},
currentDatasetSize: {
title: "Current Dataset Size",
tooltip: "",
tooltip: "The total number of images used to train this model",
},
sourceImage: {
title: "Source Image (TMS)",
tooltip: "",
tooltip: "The tile server link used to train this model, click on the copy icon to copy the TMS link",
},
batchSize: {
title: "Batch Size",
tooltip: "",
tooltip: "Refers to the total number of images that is fed into the model training in each batch until the whole training dataset is used to train the model",
},
accuracy: {
title: "Accuracy",
tooltip: "",
tooltip: "Refers to the training sparse categorical accuracy of RAMP model or YOLO accuracy of the model",
},
boundaryWidth: {
title: "Boundary Width",
tooltip: "",
tooltip: "Specify the width in pixels to reduce the original building shape inwardly, creating a boundary or margin around each building. A smaller value creates a tighter boundary close to the building's edges, while a larger value creates a wider surrounding area. For example, entering '3' will create a boundary that 3 pixles inside from the original building edges.",
},
},
trainingHistoryTableHeader: {
Expand Down
Loading