DTUComputeCognitiveSystems / AI_playground

A set of demos for teaching and introducing students to advanced AI-models with few prerequisites.
Apache License 2.0
5 stars 1 forks source link

Video experiment assignment #9

Closed NorthGuard closed 6 years ago

NorthGuard commented 6 years ago

1

2

3

NorthGuard commented 6 years ago

From meeting with Lars:

NorthGuard commented 6 years ago

Hey Laura. I forgot to tell you about it, but the above comment is from the meeting with Lars about extensions of the Notebook. Perhaps we can discuss their implementation tomorrow? :D

laura-rieger commented 6 years ago

Regarding the network, I do not think it is possible to train a neural network larger than a linear classifier on a laptop. Currently we have a very simple network implemented, another possible solution would be to run it on the cluster.

NorthGuard commented 6 years ago

From this morning:

laura-rieger commented 6 years ago

All except "Ensure correct format of augmentet images" and figuredone (I don't get the error, so we should check on linux. Could maybe use more widgets but that would basically reduce everything to one big black box.

Regarding figure, I think the one we have right now is not ideal.

laura-rieger commented 6 years ago

fixed augmentation bug and added image

NorthGuard commented 6 years ago

A few remarks before closing exercise: "Image Demo 1"

"Image Demo 2"

NorthGuard commented 6 years ago

We need to be able to lead images back in, so that if something crashed the students do not have to start over.

NorthGuard commented 6 years ago

I have looked a lot into the Image Demo 2 today. The performance of the system is very bad. Also we agreed with Lars to use a pretrained network and only retrain the last layer - why are we not doing this? @laura-rieger @SkafteNicki

laura-rieger commented 6 years ago

Hi, we tried training that and the training takes an undetermined amount of time (at least ten minutes per epoch). The previous results on Nickis laptop were because he is using a GPU (which I do not think we can assume every student has). Therefore I think it is much better to use a simple network.

NorthGuard commented 6 years ago

Okay I see. The performance is only bad when running the live network. Perhaps there is a problem elsewhere? I have looked at preprocessing, but I don't think that is the problem :/

SkafteNicki commented 6 years ago

Just to follow up, we checked the graph of the network in tensorboard and everything seems correct (only the newly added layers are connected to the node that computes gradients). But it is still weird that it takes so long time. Maybe it has something to do with keras, and we are better of using native tensorflow?

NorthGuard commented 6 years ago

Got some help from Laura - problems seems to be fixed now :D