This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Code for optical flow estimation (Summer internship project @ 2019) #516
Draft
katsuma-inoue-42
wants to merge
132
commits into
blue-oil:master
Choose a base branch
from
katsuma-inoue-42:lm_flownet_final
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Code for optical flow estimation (Summer internship project @ 2019) #516
katsuma-inoue-42
wants to merge
132
commits into
blue-oil:master
from
katsuma-inoue-42:lm_flownet_final
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
primenumber seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
primenumber seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Description
DL model for optical flow estimation
How do you use it?
[NOTE] Please run them on high end computer with GPU.
Build docker
Run docker
Train model
Convert checkpoint into pb_file and so/elf binaries
(on your local PC) Download and run elf test
(on your local PC) Upload elf / so binaries to DE10-Nano board
(on your local PC) Run demonstration with so x86_avx binary file
Run demonstration with so arm/fpga binary file with socket connection
(SERVER: on GPU machine)
(SERVER: on De10-Nano)
(CLIENT: on your local PC)
python lmnet/lmnet/networks/optical_flow_estimation/demo_client.py --host [IP_ADDRESS_OF_THE_SERVER] --port [PORT] --image_size [IMAGE_SIZE:default=[384, 512]] --disable_full_screen
Model structure
You can change the number of layers and input image size by specifying CONV_DEPTH and SLICE_STEP in configuration file.
lm_6_layers_continuous/quantized_full
lm_3_layers_continous/quantized_quarter
Screenshots (if appropriate):
Sample output (lm_3_c_quarter.py)
Types of changes
Checklist: