alikureishy / Automata-Capstone

Capstone repository (pulled from /verichev)
MIT License
2 stars 0 forks source link

Create model architecture in model.py file #5

Closed alikureishy closed 5 years ago

alikureishy commented 5 years ago

This file will expose a method:

def create_model_for_training(.....):

... and return the model architecture as below:

  return input, output, loss_function, optimizer ...

This will be used by the tl_trainer.py node. Having this as a separate file allows the architecture to be implemented independently from the trainer.

bessszilard commented 5 years ago

I suggest pretrained SSD_GRAPH or FASTER_RCNN. In this case, we have only to fine-tune the existing model.

bessszilard commented 5 years ago

Without any fine-tuning I was able to detect traffic light contours on the image in most cases. index

bessszilard commented 5 years ago

The most elegant method is to fine-tune the model, and the CNN will classifier the traffic lights's color too.