Add Image Recognition Lab

This commit is contained in:
2025-11-11 19:19:46 +01:00
parent 41bc409a0d
commit 1d1503c877
13 changed files with 502 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
import org.springframework.boot.gradle.plugin.SpringBootPlugin
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
description = "Sentiment Analysis Lab"
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
}
dependencyManagement {
imports {
mavenBom SpringBootPlugin.BOM_COORDINATES
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'ai.djl:api:0.33.0'
implementation 'ai.djl.pytorch:pytorch-engine:0.33.0'
implementation 'ai.djl.pytorch:pytorch-model-zoo:0.33.0'
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}