Closed yaobaishen closed 4 years ago
here is the command line:
python3 Live_Adaptation_Demo.py --weights ../pretrained_nets/MADNet/synthetic/weights.ckpt
run
python 3 Live_Adaptation_Demo.py -h
to check all the available command line options and their default value.
In particular the --mode
flag sets the adaptation strategy to use and defaults a NONE
therefore if you don't set it properly the code is not running in adaptation mode but only inference.
Try to add --mode FULL
or --mode MAD
I have a try the
--mode FULL
option and the disparity has noticeable improvement, I need some time to do the evaluation and will update here, cheers ~
Thanks for providing the Live_Adaptation_Demo.py and luckily I have a first generation ZED camera, not the ZED_mini. After some simple modifications of the grabber.py, I can run the demo online with ZED images (720P@30fps), but the disparity looks not good and is very unstable. Here are the steps: