Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save briansp2020/97d4b1fc658c4340acfc2838208b1e2b to your computer and use it in GitHub Desktop.
Save briansp2020/97d4b1fc658c4340acfc2838208b1e2b to your computer and use it in GitHub Desktop.
root@C-c6fe3f8f-7781-431b-9423-4071ddb07676-146:~/git/Mask_RCNN/samples/shapes# export
declare -x HCC_HOME="/opt/rocm/hcc"
declare -x HIP_PATH="/opt/rocm/hip"
declare -x HIP_VISIBLE_DEVICES="0"
declare -x HOME="/root"
declare -x HSA_ENABLE_SDMA="0"
declare -x LANG="en_US.UTF-8"
declare -x LC_ALL="en_US.UTF-8"
declare -x LC_CTYPE="en_US.UTF-8"
declare -x LD_LIBRARY=":/opt/rocm/opencl/lib/x86_64"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD="/root/git/Mask_RCNN/samples"
declare -x PATH="/usr/local/bin:/opt/rocm/hcc/bin:/opt/rocm/hip/bin:/opt/rocm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/rocm/opencl/bin/x86_64"
declare -x PWD="/root/git/Mask_RCNN/samples/shapes"
declare -x ROCM_HOME="/opt/rocm/bin"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="2400:8902::f03c:91ff:fe15:5d71 59172 22"
declare -x SSH_CONNECTION="2400:8902::f03c:91ff:fe15:5d71 59172 240d:1a:12f:900:216:3eff:fe99:dd43 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm-256color"
declare -x USER="root"
root@C-c6fe3f8f-7781-431b-9423-4071ddb07676-146:~/git/Mask_RCNN/samples/shapes# apt list | grep rocm
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libfcgi-procmanager-maxrequests-perl/xenial 0.2-1 all
libfcgi-procmanager-perl/xenial 0.25-1 all
procmail/xenial-updates,xenial-security 3.22-25ubuntu0.16.04.1 amd64
procmail-lib/xenial 1:2009.1202-4 all
procmeter3/xenial 3.6-1 amd64
rocm-clang-ocl/Ubuntu 16.04,now 0.3.0-c1b678e amd64 [installed,automatic]
rocm-cmake/Ubuntu 16.04 0.1 amd64
rocm-dev/Ubuntu 16.04,now 1.7.148 amd64 [installed]
rocm-device-libs/Ubuntu 16.04,now 0.0.1 amd64 [installed]
rocm-dkms/Ubuntu 16.04,now 1.7.148 amd64 [installed]
rocm-libs/Ubuntu 16.04,now 1.7.148 amd64 [installed]
rocm-opencl/Ubuntu 16.04,now 1.2.0-2018041722 amd64 [installed]
rocm-opencl-dev/Ubuntu 16.04,now 1.2.0-2018041722 amd64 [installed]
rocm-profiler/Ubuntu 16.04,now 5.3.6652 amd64 [installed]
rocm-smi/Ubuntu 16.04,now 1.0.0-38-g3fe4e0c amd64 [installed,automatic]
rocm-utils/Ubuntu 16.04,now 1.7.148 amd64 [installed]
rocm_bandwidth_test/Ubuntu 16.04 1.0.0 amd64
rocminfo/Ubuntu 16.04,now 1.0.7 amd64 [installed,automatic]
root@C-c6fe3f8f-7781-431b-9423-4071ddb07676-146:~/git/Mask_RCNN/samples/shapes# git log
commit 6c9c82f5feaf5d729a72c67f33e139c4bc71399b
Author: Ryan <ryanmalia@gmail.com>
Date: Wed Apr 18 23:40:50 2018 -0700
Headline typo fix in README.md
Fixed the typo in the headline of the README.md file. "Spash" should be "Splash"
root@C-c6fe3f8f-7781-431b-9423-4071ddb07676-146:~/git/Mask_RCNN/samples/shapes# python3 shapes.py
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
ImportError: numpy.core.multiarray failed to import
Traceback (most recent call last):
File "shapes.py", line 25, in <module>
from mrcnn import utils
File "/root/git/Mask_RCNN/mrcnn/utils.py", line 15, in <module>
import tensorflow as tf
File "/usr/local/lib/python3.5/dist-packages/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
SystemError: initialization of _pywrap_tensorflow_internal raised unreported exception
root@C-c6fe3f8f-7781-431b-9423-4071ddb07676-146:~/git/Mask_RCNN/samples/shapes#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment