diff --git a/web-client/src/components/testing/Tester.vue b/web-client/src/components/testing/Tester.vue index b773aa97f..2163d1d34 100644 --- a/web-client/src/components/testing/Tester.vue +++ b/web-client/src/components/testing/Tester.vue @@ -335,7 +335,7 @@ async function predictUsingModel (): Promise { } async function assessModel (): Promise { - if (props.datasetBuilder?.size() === 0) { + if (props.datasetBuilder?.size === 0) { return toaster.error('No file was given') } diff --git a/web-client/src/components/training/Trainer.vue b/web-client/src/components/training/Trainer.vue index edff43a00..755787ddb 100644 --- a/web-client/src/components/training/Trainer.vue +++ b/web-client/src/components/training/Trainer.vue @@ -141,7 +141,7 @@ export default defineComponent({ async startTraining (distributedTraining: boolean): Promise { this.distributedTraining = distributedTraining - if (!this.datasetBuilder.isBuilt()) { + if (!this.datasetBuilder.built) { try { this.dataset = await this.datasetBuilder.build() } catch (e) { @@ -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() }