miles-deep icon indicating copy to clipboard operation
miles-deep copied to clipboard

Translation to Tf.Keras?

Open sslx opened this issue 6 years ago • 8 comments

Awesome ideas! Just wondering if this could be translated into tensorflow.keras model? Thanks!

sslx avatar Jan 11 '20 11:01 sslx

I've translated the model into tf.keras using MMdnn. Would you be interested in testing against your data set and incorporating into the repo?

sslx avatar Jan 25 '20 04:01 sslx

Awesome ! :1st_place_medal: I would be interested by the code. Could you publish it on your git page please ? (or make a fork or some thing like that) as it seems that this repo is dead and the creator will not answer anymore. Thanx :)

cmonporn avatar Jan 31 '20 16:01 cmonporn

https://github.com/sslx/miles-deep

sslx avatar Feb 01 '20 08:02 sslx

~@sslx Could you provide a Docker image to your fork?~

I made it for myself, but if you want to ass in your project, here it is:

FROM tensorflow/tensorflow:latest-gpu

RUN apt-get update
RUN apt-get install -y ffmpeg
RUN apt-get install -y libsm6 libxext6 libxrender-dev
RUN pip install opencv-python

WORKDIR /app

COPY ./ ./

RUN mkdir images/

CMD python test.py

Usage:

docker build -t miles-deep:keras .
docker run --rm -it -v "/absolute/path/to/file:/app/vid.mp4" miles-deep:keras

I also created a little script to help running on files globally:

miles-deep.sh

#!/bin/bash

filename=$1
path="$(pwd)/$filename"
output="$(pwd)/miles-deep/$filename/"

mkdir -p "$output"

result=$(docker run --rm -t -v "$path:/app/vid.mp4" -v "$output:/app/images" miles-deep)

echo $result
echo $result > "$output/result.txt"

Just add it to your bin directory and run:

miles-deep filename

SkyaTura avatar Feb 03 '20 15:02 SkyaTura

@ryanjay0

SkyaTura avatar Feb 03 '20 15:02 SkyaTura

he can anyone help me set this up, I can pay. If you can please email me at [email protected]

ecchirealm avatar Dec 12 '20 21:12 ecchirealm

he can anyone help me set this up, I can pay. If you can please email me at [email protected]

Hi, I have added few up-gradation in it, now you can test and save video output as well

https://github.com/afaq-ahmad/miles-deep

afaq-ahmad avatar Jan 08 '21 08:01 afaq-ahmad

he can anyone help me set this up, I can pay. If you can please email me at [email protected]

Hi, I have added few up-gradation in it, now you can test and save video output as well

https://github.com/afaq-ahmad/miles-deep

could you include my dockerfile into your fork?

SkyaTura avatar Jan 08 '21 12:01 SkyaTura