ibcn-cloudlet / dianne

DIANNE - DIstributed Artificial Neural NEtworks
http://dianne.intec.ugent.be
GNU Affero General Public License v3.0
22 stars 8 forks source link

Datasets won't appear after exiting with CTRL+C #10

Closed SinRas closed 6 years ago

SinRas commented 6 years ago

I exited the java -jar tools/generated/distributions/executable/all.jar process with CTRL+C. Now the Datasets don't appear in the UI menu (but exist in the folder).

I have tried deleting/redownloading the folders models and datasets.

Build: ./gradlew build

tverbele commented 6 years ago

The Java process should remain running the whole time. If you exit the Java process, the runtime is basically down, and all you see is some html/javascript cached by the browser...

SinRas commented 6 years ago

I miss informed the problem :sweat_smile:

I shut down the java process with CTRL+C and now whenever I rerun java -jar tools/generated/distributions/executable/all.jar, the datasets won't appear.

Now neither of the following options work, when the Java process is working:

tverbele commented 6 years ago

Oh ok. Try running in the tools directory, so

cd tools
java -jar generated/distributions/executable/all.jar

By default the datasets and models are loaded from a datasets and models directory relative to where you start the process, which are by default located in the tools directory.

If you have stored models/datasets somewhere else, you can try to start with the following additional properties:

java -Dbe.iminds.iot.dianne.storage=<path to your models directory> -Dbe.iminds.iot.dianne.datasets.location=<path to your datasets directory> -jar generated/distributions/executable/all.jar
SinRas commented 6 years ago

many thanks