qcraftai / pillarnext

PillarNeXt: Rethinking Network Designs for 3D Object Detection in LiDAR Point Clouds (CVPR 2023)
Other
187 stars 14 forks source link

docker pull question #10

Closed thiesymon closed 10 months ago

thiesymon commented 11 months ago

I enter the docker install cmd as below,it occurs error:

thiesy@ubuntu-MS-7C75:~/docker/pillarnext$ docker build - < Dockerfile -t pillarnext
[+] Building 0.0s (2/2) FINISHED                                                                     docker:default
 => [internal] load build definition from Dockerfile                                                           0.0s
 => => transferring dockerfile: 6.26kB                                                                         0.0s
 => [internal] load .dockerignore                                                                              0.0s
 => => transferring context: 2B                                                                                0.0s
Dockerfile:1
--------------------
   1 | >>> {"payload":{"allShortcutsEnabled":false,"fileTree":{"docker":{"items":[{"name":"Dockerfile","path":"docker/Dockerfile","contentType":"file"}],"totalCount":1},"":{"items":[{"name":"configs","path":"configs","contentType":"directory"},{"name":"det3d","path":"det3d","contentType":"directory"},{"name":"docker","path":"docker","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":"trainer","path":"trainer","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"}],"totalCount":10}},"fileTreeProcessingTime":4.868006,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":636879680,"defaultBranch":"main","name":"pillarnext","ownerLogin":"qcraftai","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-05T21:45:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/47136815?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1686703992.2967439","canEdit":false,"refType":"branch","currentOid":"a9a2864089092a5f9f8ded7c3a95bafa4edbf325"},"path":"docker/Dockerfile","currentUser":null,"blob":{"rawLines":["FROM nvidia/cuda:11.6.1-devel-ubuntu20.04","RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections","","# Install basics","RUN apt update","RUN apt install -y wget git ffmpeg libsm6 libxext6 ","","ENV CONDA_DIR /opt/conda","","RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh && \\","    /bin/bash ./Anaconda3-2021.11-Linux-x86_64.sh -b -p /opt/conda && \\","    rm ./Anaconda3-2021.11-Linux-x86_64.sh ","","ENV PATH=\"/opt/conda/bin:$PATH\"","RUN pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116","RUN pip install torch-scatter -f https://data.pyg.org/whl/torch-1.13.0+cu116.html","Run pip install hydra-core numba ","Run pip install spconv-cu116","Run pip install opencv-python","Run pip install nuscenes-devkit","Run pip install protobuf==3.20.*","RUN pip install --no-cache-dir tensorflow==2.6.0","Run pip install waymo-open-dataset-tf-2-6-0"],"stylingDirectives":[[{"start":0,"end":4,"cssClass":"pl-k"}],[{"start":0,"end":3,"cssClass":"pl-k"},{"start":9,"end":57,"cssClass":"pl-s"}],[],[{"start":0,"end":16,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-k"}],[{"start":0,"end":3,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-k"}],[],[],[],[{"start":0,"end":3,"cssClass":"pl-k"},{"start":9,"end":31,"cssClass":"pl-s"}],[{"start":0,"end":3,"cssClass":"pl-k"}],[{"start":0,"end":3,"cssClass":"pl-k"}],[],[],[],[],[],[{"start":0,"end":3,"cssClass":"pl-k"}],[]],"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/qcraftai/pillarnext/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/qcraftai/pillarnext/security/dependabot","repoSecurityAndAnalysisPath":"/qcraftai/pillarnext/settings/security_analysis","repoOwnerIsOrg":false,"currentUserCanAdminRepo":false},"displayName":"Dockerfile","displayUrl":"https://github.com/qcraftai/pillarnext/blob/main/docker/Dockerfile?raw=true","headerInfo":{"blobSize":"927 Bytes","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"27ee9fe","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fqcraftai%2Fpillarnext%2Fblob%2Fmain%2Fdocker%2FDockerfile","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"23","truncatedSloc":"19"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Dockerfile","languageID":89,"large":false,"loggedIn":false,"newDiscussionPath":"/qcraftai/pillarnext/discussions/new","newIssuePath":"/qcraftai/pillarnext/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/qcraftai/pillarnext/blob/main/docker/Dockerfile","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/qcraftai/pillarnext/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"rawBlobUrl":"https://github.com/qcraftai/pillarnext/raw/main/docker/Dockerfile","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"qcraftai","repoName":"pillarnext","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/qcraftai/pillarnext/branches":{"post":"Bb54hGV9KSTYpE_xqIWrd-qQmIY-B0rHciaykThLUZ7RWmLXwTFIOdQl1NwmR9aQdYaIzFlTETn0qPIjZ3eZGg"},"/repos/preferences":{"post":"1lSSDnc9iJHGBr69HZ32XSWd-M6I-mt3HLGGVlLmz6cStD4pPtPufJX3y5pB2DOxCgn-6q9xsaSGpqztayhmdg"}}},"title":"pillarnext/docker/Dockerfile at main · qcraftai/pillarnext"}
--------------------
ERROR: failed to solve: dockerfile parse error on line 1: unknown instruction: {"payload":{"allShortcutsEnabled":false,"fileTree":{"docker":{"items":[{"name":"Dockerfile","path":"docker/Dockerfile","contentType":"file"}],"totalCount":1},"":{"items":[{"name":"configs","path":"configs","contentType":"directory"},{"name":"det3d","path":"det3d","contentType":"directory"},{"name":"docker","path":"docker","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":"trainer","path":"trainer","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"}],"totalCount":10}},"fileTreeProcessingTime":4.868006,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":636879680,"defaultBranch":"main","name":"pillarnext","ownerLogin":"qcraftai","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-05T21:45:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/47136815?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1686703992.2967439","canEdit":false,"refType":"branch","currentOid":"a9a2864089092a5f9f8ded7c3a95bafa4edbf325"},"path":"docker/Dockerfile","currentUser":null,"blob":{"rawLines":["FROM

Can anyone help to fix this?

Konstantin5389 commented 10 months ago

maybe you can pull my built docker image use docker pull jinyuli1999/det3d:release