Skip to content

Commit d7d00a0

Browse files
committed
desktop: about: fix inconsistent text padding
also remove orange square from network asset
1 parent e5c7e71 commit d7d00a0

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

assets/images/network.png

61.1 KB
Loading

lib/screens/desktop/about.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class About extends StatelessWidget {
5252
itemBuilder: (context, index) {
5353
return Column(
5454
crossAxisAlignment: CrossAxisAlignment.start,
55+
mainAxisSize: MainAxisSize.min,
5556
children: [
5657
Text(
5758
ques[index],
@@ -78,7 +79,7 @@ class About extends StatelessWidget {
7879
image: AssetImage("assets/images/network.png"),
7980
alignment: Alignment.center,
8081
),
81-
SizedBox(height: 10),
82+
SizedBox(height: 30),
8283
Image(
8384
image:
8485
AssetImage("assets/images/attention.png"),

lib/utils/constants.dart

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ A platform for style transfer with neural networks
77
// !! is used as a delimeter to split the questions and answers
88
const String QUES = '''
99
How does it work?!!
10-
What is the tech stack?
11-
''';
10+
What is the tech stack?''';
1211

1312
const String ANS = '''
1413
The backbone of the application is a Convolutional Neural Network(CNN) with a very complex network architecutre containting a total of 3 models:
@@ -18,13 +17,10 @@ The backbone of the application is a Convolutional Neural Network(CNN) with a ve
1817
1918
The image features are first extracterd using VGG's layers from relu_1_1 until relu5_1 and then passed to the SA module which calculates feature importance for both style and content, after that the content features are multiplied by a value between 0-1 called alpha representing the amount of content the final image will have compared to the original content, after that the final image features go through the decoder which results in the final image.
2019
21-
Figure below shows the model architecture, attention module architecture and identity loss network.
22-
!!
23-
when it comes to the tech stack there are 3 main components to the application, the trained model, an API and this application. the model is of course implemented using PyTorch, and the API is a simple general purpose FastAPI application.
20+
Figure below shows the model architecture, attention module architecture and identity loss network.!!when it comes to the tech stack there are 3 main components to the application, the trained model, an API and this application. the model is of course implemented using PyTorch, and the API is a simple general purpose FastAPI application.
2421
2522
- Model -> python, Pytorch
2623
- API -> python, FastAPI
2724
- Application -> Flutter
2825
29-
Figure below shows the overall process of styling an image.
30-
''';
26+
Figure below shows the overall process of styling an image.''';

0 commit comments

Comments
 (0)