Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-81
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-81
2022-81
Commits
74e478d0
Commit
74e478d0
authored
Nov 10, 2022
by
P.Y.D Jayasinghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted 2
parent
0eaed9bd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
146 deletions
+0
-146
app/build.gradle
app/build.gradle
+0
-45
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+0
-22
app/src/main/res/values-night/themes.xml
app/src/main/res/values-night/themes.xml
+0
-16
app/src/main/res/values/colors.xml
app/src/main/res/values/colors.xml
+0
-10
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+0
-3
app/src/main/res/values/themes.xml
app/src/main/res/values/themes.xml
+0
-16
build.gradle
build.gradle
+0
-26
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+0
-6
settings.gradle
settings.gradle
+0
-2
No files found.
app/build.gradle
View file @
74e478d0
plugins
{
id
'com.android.application'
}
android
{
compileSdkVersion
28
buildToolsVersion
"29.0.2"
defaultConfig
{
applicationId
"com.example.resnetnew"
minSdkVersion
25
//noinspection ExpiredTargetSdkVersion
targetSdkVersion
28
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
}
buildTypes
{
release
{
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
}
}
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
buildFeatures
{
mlModelBinding
true
}
}
dependencies
{
implementation
'androidx.appcompat:appcompat:1.1.0'
implementation
'com.google.android.material:material:1.4.0'
implementation
'androidx.constraintlayout:constraintlayout:2.0.4'
implementation
'org.pytorch:pytorch_android_lite:1.10.0'
implementation
'org.pytorch:pytorch_android_torchvision_lite:1.10.0'
implementation
'org.tensorflow:tensorflow-lite-support:0.1.0-rc1'
implementation
'org.tensorflow:tensorflow-lite-metadata:0.1.0-rc1'
}
\ No newline at end of file
app/src/main/AndroidManifest.xml
View file @
74e478d0
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.resnetnew"
>
<application
android:allowBackup=
"true"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:theme=
"@style/Theme.ResNetNew"
>
<activity
android:name=
".Unet"
></activity>
<activity
android:name=
".MainActivity"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
app/src/main/res/values-night/themes.xml
View file @
74e478d0
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!-- Base application theme. -->
<style
name=
"Theme.ResNetNew"
parent=
"Theme.MaterialComponents.DayNight.DarkActionBar"
>
<!-- Primary brand color. -->
<item
name=
"colorPrimary"
>
@color/purple_200
</item>
<item
name=
"colorPrimaryVariant"
>
@color/purple_700
</item>
<item
name=
"colorOnPrimary"
>
@color/black
</item>
<!-- Secondary brand color. -->
<item
name=
"colorSecondary"
>
@color/teal_200
</item>
<item
name=
"colorSecondaryVariant"
>
@color/teal_200
</item>
<item
name=
"colorOnSecondary"
>
@color/black
</item>
<!-- Status bar color. -->
<item
name=
"android:statusBarColor"
tools:targetApi=
"l"
>
?attr/colorPrimaryVariant
</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
app/src/main/res/values/colors.xml
View file @
74e478d0
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"purple_200"
>
#FFBB86FC
</color>
<color
name=
"purple_500"
>
#FF6200EE
</color>
<color
name=
"purple_700"
>
#FF3700B3
</color>
<color
name=
"teal_200"
>
#FF03DAC5
</color>
<color
name=
"teal_700"
>
#FF018786
</color>
<color
name=
"black"
>
#FF000000
</color>
<color
name=
"white"
>
#FFFFFFFF
</color>
</resources>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
74e478d0
<resources>
<string
name=
"app_name"
>
ResNetNew
</string>
</resources>
\ No newline at end of file
app/src/main/res/values/themes.xml
View file @
74e478d0
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!-- Base application theme. -->
<style
name=
"Theme.ResNetNew"
parent=
"Theme.MaterialComponents.DayNight.DarkActionBar"
>
<!-- Primary brand color. -->
<item
name=
"colorPrimary"
>
@color/purple_500
</item>
<item
name=
"colorPrimaryVariant"
>
@color/purple_700
</item>
<item
name=
"colorOnPrimary"
>
@color/white
</item>
<!-- Secondary brand color. -->
<item
name=
"colorSecondary"
>
@color/teal_200
</item>
<item
name=
"colorSecondaryVariant"
>
@color/teal_700
</item>
<item
name=
"colorOnSecondary"
>
@color/black
</item>
<!-- Status bar color. -->
<item
name=
"android:statusBarColor"
tools:targetApi=
"l"
>
?attr/colorPrimaryVariant
</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
build.gradle
View file @
74e478d0
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript
{
repositories
{
google
()
mavenCentral
()
jcenter
()
}
dependencies
{
classpath
"com.android.tools.build:gradle:4.2.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects
{
repositories
{
google
()
mavenCentral
()
jcenter
()
// Warning: this repository is going to shut down soon
}
}
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
}
\ No newline at end of file
gradle/wrapper/gradle-wrapper.properties
View file @
74e478d0
#Fri Oct 07 20:18:19 IST 2022
distributionBase
=
GRADLE_USER_HOME
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionPath
=
wrapper/dists
zipStorePath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
settings.gradle
View file @
74e478d0
rootProject
.
name
=
"ResNetNew"
include
':app'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment