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.
Bash script to run webrtc and rtsp in neurocaas pipeline
Bash scripts are created to run webrtc and rtsp on the ec2 server deployed by the neurocaas pipeline.
Test locally
The test is performed on a local machine, in order to validate the operation of each script:
This requires to have installed the repos containing the solution of webrtc and rtsp (in the
rtmp-livestream
branch).The data used are:
DLC_Dog_resnet_50_iteration-0_shuffle-0.tar.gz
dlc_config,json
dlc_config,json
Each of these configuration files are located in the repo of each solution.
WEBRTC
To test webrtc locally, we proceeded as follows:
RTSP
To test rtsp locally, we proceeded as follows:
Register the dataset, config file and result path. You need to have the data model downloaded.
neurocaas_contrib only allows to register one data file and one configuration file. In this case, we need to manage a configuration file that allows to control the input parameters of the server script, as well as another configuration file that reads the server to manage other parameters. To implement this, the bash script that runs the server receives:
config_rtsp.yml
):rtsp_input.zip
) with the model data (DLC_Dog_resnet_50_iteration-0_shuffle-0.tar.gz
) and the configuration file it requires (dlc_config.json
).To register the files, we proceed in the same way
NOTE :
The difference between the files
run_*_cli.sh
(committed) andrun_*_local.sh
(mentioned here) is the path indicated in theuserhome
variable