Install the dependencies with the following command:
pip install -r requirements.txt
Comparison experiment command (batch-estimates the performance of each module on CPU and GPU in the early stage, demonstrating the GPU acceleration effect)
Run the following command for the comparison experiments:
python main.py benchmark images --stagewise --with_match
Visualize the detection results of three images in one go (under the baseline setting, pick the optimal scheme among the four partitioning options):
python rpc\test_examples_win.py test1.jpg --images test2.jpg test3.jpg
Calibrate the model parameters following the instructions in CALIBRATE_README.md.
Dynamically select the optimal scheme based on network latency and memory usage:
python simulate.py images\test1.jpg --find-optimal --process-usage 0 --network-delay 0
Verify whether the scheme chosen by the system above is correct:
python simulate.py images\test1.jpg --test-all --process-usage 0 --network-delay 0