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

Refactoring created mismatched function calls #608

Merged
merged 1 commit into from
Jan 29, 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
2 changes: 1 addition & 1 deletion web-client/src/components/testing/Tester.vue
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async function predictUsingModel (): Promise<void> {
}

async function assessModel (): Promise<void> {
EduardDurech marked this conversation as resolved.
Show resolved Hide resolved
if (props.datasetBuilder?.size() === 0) {
if (props.datasetBuilder?.size === 0) {
return toaster.error('No file was given')
}

Expand Down
4 changes: 2 additions & 2 deletions web-client/src/components/training/Trainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default defineComponent({
async startTraining (distributedTraining: boolean): Promise<void> {
EduardDurech marked this conversation as resolved.
Show resolved Hide resolved
this.distributedTraining = distributedTraining

if (!this.datasetBuilder.isBuilt()) {
if (!this.datasetBuilder.built) {
try {
this.dataset = await this.datasetBuilder.build()
} catch (e) {
Expand All @@ -157,7 +157,7 @@ export default defineComponent({
await this.disco.fit(this.dataset)
this.startedTraining = false
} catch (e) {
this.$toast.error('An error occured during training')
this.$toast.error('An error occurred during training')
console.error(e)
this.cleanState()
}
Expand Down
Loading