본문 바로가기

전체 글

(8)
[etc.] tf.compat.v1.saved_model.load [reference] https://www.tensorflow.org/api_docs/python/tf/compat/v1/saved_model/load
[etc.] Tensorflow 2.x : contrib issue Normally, you can use Tensorflow 1.x code in Tensorflow 2.x with tensorflow.compat.v1.x. But It doesn't working with contrib. So you need to use tf.keras when you try to normalize or etc. in tensorflow2.x. ex) r1 = rf.keras.regularizers.L1(l1=1-e4) r2 = rf.keras.regularizers.L2(l2=1-e4)
[etc] The option verbose in Tensorflow2.0 fit and evaluate function verbose: 'auto', 0, 1, or 2. Verbosity mode. 0 = silent, 1 = progress bar, 2 = one line per epoch. 'auto' defaults to 1 for most cases, but 2 when used with ParameterServerStrategy. Note that the progress bar is not particularly useful when logged to a file, so verbose=2 is recommended when not running interactively (eg, in a production environment). [reference] https://keras.io/api/models/model..
[NVIDIA NANO] Adding Swap Memory git clone https://github.com/JetsonHacksNano/installSwapfile cd installSwapfile ./installSwapfile.sh then reboot the board If you got the error sudo swapoff -a [reference] https://jetsonhacks.com/2019/04/14/jetson-nano-use-more-memory/
[NVIDA NANO] Jetpack 4.6.2 Tensorflow setup Follow commans below sudo apt-get update sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran sudo pip3 install -U pip testresources setuptools sudo ln -s /usr/include/locale.h /usr/include/xlocale.h sudo pip3 install -U numpy==1.19.4 future mock keras_preprocessing keras_applications gast==0.2.1 protobuf pybind11 cython pk..
[NVIDIA NANO] nvcc error If you got the error like image below sudo vi ~/.bashrc Insert the code at the bottom export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} Then save the file and execute it with source(command) source ~/.bashrc
Media Processing Lab., Kwangwoon Univ., South Korea This is Media Processing Lab. pages for our Lab students. If you are our member, you are free to use every information in here. we can describe our research area with the poseter below. More Lab. Information is available : mpl.kw.ac.kr Media Processor Lab This page will forward to http://sites.google.com/view/media-processor-lab in three second. 잠시만 기다리시면 Media-Processor-Lab homepage 로 연결됩니다. mp..
git 사용 예시 정리 : add, commit, 외부 저장소 연결 및 pull git 사용 방법 정리본 git local repository 로 사용하고 싶은 파일을 생성한 후 해당 파일에서 마우스 오른쪽 클릭을 눌러 git bash 를 실행한다. git init 명령어를 실행하여 .git 파일을 만들면 로컬 repository 로 설정된다. index.html 파일 생성 (예시) git status 명령어를 통해 untracked files 확인, index.html 파일은 git 에 관리받지 않고 있다는 것을 알 수 있다. add 명령어로 index.html 파일을 Stage 시켜준다. git status 로 commit 되지 않은 파일이 있다는 것을 확인 가능 git commit -m "add index.html 파일" git commit -m 은 현재 stage 된 파일을 ..