You need to disable System Integrity Protection(SIP)
.
https://docs.ros.org/en/humble/Installation/Alternatives/macOS-Development-Setup.html#disable-system-integrity-protection-sip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> $HOME/.zprofile
https://qiita.com/wahhoi22/items/d9ef90877fdb41dba1af#c11を使ってそのままコンパイルするとエラーが生じるで書かれている現象をhttps://hub.docker.com/r/nvidia/cudaにある以下のDockerイメージを使って追試をした。
- nvidia/cuda:11.5.2-cudnn8-devel-ubuntu20.04
- nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Orin"
CUDA Driver Version / Runtime Version 11.4 / 11.4
CUDA Capability Major/Minor version number: 8.7
Total amount of global memory: 14486 MBytes (15189422080 bytes)
(008) Multiprocessors, (128) CUDA Cores/MP: 1024 CUDA Cores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
ARG UID=1000 | |
ARG GID=1000 | |
# add new sudo user | |
ENV USERNAME vhs | |
ENV HOME /home/$USERNAME | |
RUN useradd -m $USERNAME && \ | |
echo "$USERNAME:$USERNAME" | chpasswd && \ |
- グレースケール変換
- リサイズ
- ヒストグラム平坦化
- eqhist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
ARG GID=1000 | |
ARG UID=1000 | |
# add new sudo user | |
ENV USERNAME onnx | |
ENV HOME /home/$USERNAME | |
RUN groupadd -f -g ${GID} ${USERNAME} | |
RUN useradd -m $USERNAME -u ${UID} -g ${GID} && \ |
NewerOlder