AndreiBarsan / DynSLAM

Master's Thesis on Simultaneous Localization and Mapping in dynamic environments. Separately reconstructs both the static environment and the dynamic objects from it, such as cars.
BSD 3-Clause "New" or "Revised" License
578 stars 178 forks source link

Error when trying to preprocess KITTI sequences #57

Closed yunxiaoshi closed 5 years ago

yunxiaoshi commented 5 years ago

Hi, first thank you for this nice work!

I successfully built the system and tested it on mini-sequence-06, but when I try to preprocess other sequences, I first got this error

WARNING: Error loading config file: /home/mmvc/.docker/config.json: stat /home/mmvc/.docker/config.json: permission denied
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
Failure: Could not build or run DispNet on sequence ID [2] under path: [data/kitti/tracking/training]

So naturally I put sudo in front of it but then I got this

Unable to find image 'dispflownet:latest' locally
docker: Error response from daemon: pull access denied for dispflownet, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Failure: Could not build or run DispNet on sequence ID [2] under path: [data/kitti/tracking/training]

I went and checked the path variables in preprocess-sequence.sh and they seem all correct. I also did docker login but no luck as well. I'm quite new to Docker stuff can not figure out what I missed. A little help would be appreciated!

yunxiaoshi commented 5 years ago

Fixed it, not a problem any more

AndreiBarsan commented 5 years ago

Oh, that's great! If you have time, could you please post here about how you solved the problem in case other people face it in the future?

yunxiaoshi commented 5 years ago

Hi, just saw this. It was a silly mistake I forgot to build the dispnet docker at first,after I built it everything works fine

AndreiBarsan commented 5 years ago

Thanks for clarifying! Let me know if you have further questions ;)

0dmf0 commented 4 years ago

Unable to find image 'dispflownet:latest' locally Can you explain clearly how to solve this problem? Thanks

AndreiBarsan commented 4 years ago

Yeah, just building the appropriate image should do the trick. Please see: https://github.com/AndreiBarsan/dispnet-flownet-docker/blob/master/

and the scripts in that dir! Let me know if you have issues running this but Docker should make it overall nicer to handle than DynSLAM itself 😅

0dmf0 commented 4 years ago

dmf@dmf-GS63-7RE:/media/dmf/丁/DynSLAM$ ./scripts/preprocess-sequence.sh kitti-odometry ./data/kitti/odometry/sequences/01 Running dispnet preprocessing script! Using GPU: 0 Running network: DispNetCorr1D-K Working dir: /dispflownet/dispflownet-release/models/DispNetCorr1D-K First input: left-dispnet-in.txt Second input: right-dispnet-in.txt Output: left-dispnet-out.txt Using default tag: latest nvidia-docker | 2020/05/04 20:38:26 Error: Error response from daemon: pull access denied for dispflownet, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Failure: Could not build or run DispNet on sequence ID [] under path: [./data/kitti/odometry/sequences/01/]

When I want to process a KITTI data ,this happened. Do you know why?

0dmf0 commented 4 years ago

Yeah, just building the appropriate image should do the trick. Please see: https://github.com/AndreiBarsan/dispnet-flownet-docker/blob/master/

and the scripts in that dir! Let me know if you have issues running this but Docker should make it overall nicer to handle than DynSLAM itself sweat_smile

The website is broken. Not that page.

AndreiBarsan commented 4 years ago

sorry try https://github.com/AndreiBarsan/dispnet-flownet-docker/

On Mon, May 4, 2020 at 8:41 AM 0dmf0 notifications@github.com wrote:

Yeah, just building the appropriate image should do the trick. Please see: https://github.com/AndreiBarsan/dispnet-flownet-docker/blob/master/

and the scripts in that dir! Let me know if you have issues running this but Docker should make it overall nicer to handle than DynSLAM itself sweat_smile

The website is broken. Not that page.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AndreiBarsan/DynSLAM/issues/57#issuecomment-623439587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJT2YROBNI7VKGPRQLC4WDRP2ZUPANCNFSM4HF2TJPQ .