Skip to content

Commit c968019

Browse files
committed
bug fixes
1 parent 41aa7d2 commit c968019

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,21 @@ cd DashAI/
2828
```shell
2929
chmod +x install.sh && ./install.sh
3030
```
31-
### 4. Add DashAI to your PATH Environment Variable
32-
#### 4.1. Open your bashrc file
31+
### 4. Activate the environment
3332
```shell
34-
sudo nano ~/.bashrc
33+
conda activate server
3534
```
36-
#### 4.2. Scroll down to the bottom and paste the following line
35+
### 5. Run the server
36+
:warning: from DashAI folder
3737
```shell
38-
$dashai = [PATH TO DASHAI]/run.sh
38+
mkdir ~/.dashai && python -u worker/app/app.py > ~/.dashai/result.txt
3939
```
40-
:warning: Replace _[PATH TO DASHAI]_ with the _path_
40+
41+
### 5. Install the application
42+
> Install App by clicking on DashAI/app/dist/DashAI.dmg
43+
44+
### 6. Start the application from your launcher
45+
4146

4247
## Quick Start
4348
Complete the [installation](#installation) steps as shown above. To start using DashAI, open a terminal window and type in the following command.

data/response.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"task": "vision",
33
"core": {
44
"data": {
5-
"bs": 8,
5+
"bs": 2,
66
"val_bs": null,
77
"device": null,
88
"no_check": false,

data/train.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"training": {
3-
"type": "fit_one_cycle",
3+
"type": "fit",
44
"fit": {
55
"epochs": 0,
66
"lr": "slice(None, 0.003, None)",

data/verum.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"return": true,
33
"metric": {
44
"name": "error",
5-
"minimize": false,
6-
"num_trials": null
5+
"minimize": true,
6+
"num_trials": 1
77
},
88
"learning_rate": {
99
"flag": true,
@@ -29,7 +29,7 @@
2929
],
3030
"digits": 0
3131
},
32-
"default": 5
32+
"default": 0
3333
},
3434
"momentum0": {
3535
"flag": true,

install.sh

100644100755
File mode changed.

run.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
FLASK_APP=worker.app.app.py
2-
FLASK_ENV=development
3-
flask run
1+
mkdir ~/.dashai && python -u worker/app/app.py > ~/.dashai/result.txt

0 commit comments

Comments
 (0)