Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Fix/ndk version #320

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
8 changes: 5 additions & 3 deletions ImageSegmentation/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ repositories {
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"

//Declare ndk version here
ndkVersion "21.1.6352462"
defaultConfig {
applicationId "org.pytorch.demo.imagesegmentation"
minSdkVersion 28
Expand All @@ -35,6 +36,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

implementation 'org.pytorch:pytorch_android_lite:1.10.0'
implementation 'org.pytorch:pytorch_android_torchvision_lite:1.10.0'
//Using Pytorch Library 1.13.1
implementation 'org.pytorch:pytorch_android_lite:1.13.1'
implementation 'org.pytorch:pytorch_android_torchvision_lite:1.13.1'
}