Mac15 [issue] tensorflow, keras, transformer 버전 문제 TypeError: Exception encountered when calling layer 'embeddings' (type TFEmbeddings). colab, kaggle 에서 돌아가는 코드들이 로컬에서 돌리면 안돌아가는 경우가 있다. 대부분 버전문제로 아래 2줄의 코드로 해결했다. import os os.environ["TF_USE_LEGACY_KERAS"] = "1" 아래는 MacOS 에서 설치한 각버전 pip install tf-keras==2.16.0 pip install tensorflow-macos==2.15.0 pip install tensorflow-metal==1.1.0 # macos==2.15.0과 호환 pip install transformers==4.39.1 2024. 3. 29. 맥북 제일 먼저 설치할 것 : Home-brew, ohmyzsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" brew install fzf bat neovim zsh-autosuggestions zsh-syntax-highlighting fd fasd stats maccy 2023. 4. 3. 맥(Mac) Espanso - 텍스트 익스팬더(TextExpander) 텍스트 확장기? 예를 들면 :date -> 2023-03-27 로 전환시켜주는 역할을 한다. 이메일, 핸드폰번호, 이메일 인사내용 자동화 등 가능하다. sh(터미널) 에서 사용하는 alias 를 좀 더 확장해서 사용한다고 생각하면 된다. 무료앱 Espanso 추천 - 다운받아도 되고, brew로 설치해도 됨. https://espanso.org/docs/install/mac/ # 단축키 바꾸기 - alfred 단축키랑 중복되어 변경(Alt+Space) vi /Users//Library/Application\ Support/espanso/config/default.yml search_shortcut: ALT+SHIFT+SPACE # 텍스트 변환 내용 추가/수정 vi /Users//Library/Applic.. 2023. 3. 27. 맥(Mac) 미리보기에서 webp 파일보기 # 어드민 권한이 있는 계정에서 설치해야함 curl -L https://raw.github.com/emin/WebPQuickLook/master/install.sh | sh https://github.com/emin/WebPQuickLook 2023. 3. 27. 추천: 외부모니터 밝기제어 Mac 무료앱 : MonitorControl - for Apple Silicon and Intel https://github.com/MonitorControl/MonitorControl https://github.com/MonitorControl/MonitorControl/releases 2023. 3. 23. 추천 무료 맥앱 stats : macOS system monitor in your menu bar https://github.com/exelban/stats brew install stats https://github.com/exelban/stats/releases/download/v2.8.13/Stats.dmg GitHub - exelban/stats: macOS system monitor in your menu bar macOS system monitor in your menu bar. Contribute to exelban/stats development by creating an account on GitHub. github.com 2023. 3. 23. 이전 1 2 3 다음