본문 바로가기

Mac10

[issue] Kensington SlimBlade Trackball & mac OS crash issue M2 mbp 14 사용하고 있음, 하루에 적어도 한번씩 freezing 걸리면서 reboot 되는 현상 발생. 이유 "kensington driver" 때문이었음, kensingtonWorks제거 & steerMouse 사용하세요. 트랙볼을 연결하지 않은 상황에서 일주일동안 정상동작 확인함. 메모리와 cpu를 거의 풀로 땡기는 ML 트레이닝 중에도 프리징이 발생하지 않는다. 최신 driver 3.1.10 Uninstall 후 쾌적하게 맥을 사용하고 있다. kensingtonworks 에 있는 트랙스크롤을 너무 잘 사용하고 있어서, 다시 사용할 방법을 찾고 있음 legacy driver (kensingtonworks_2.3.2.pkg) 설치하고 사용해 볼 예정, 문제는 없는 것으로 판단된다. ** 추가 *.. 2024. 4. 22.
[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.
추천: MAC 맥 개발자를 위한 설치 프로그램 이번에 맥 초기화 / 셋팅하면서 설치했던 앱들 정리, 무료/개발용으로 잘 사용하고 있는 것들. 하나씩 적었는데, 내용 bottom 에 가면 brew 랑, zshrc 전체 내용이 있습니다 맥초기화 셋팅 - 설치 프로그램 sudo spctl —master-disable fuzzy finder : command search 자동완성 -> 커맨드 일부만 치고 Ctrl+r brew install fzf add ~/.zshrc [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh bat -> syntax 추가된 cat brew install bat add ~/.zshrc alias cat='bat --paging=never' vim brew install neovim add ~/.zshrc alia.. 2023. 3. 21.
맥: Parallels => virtual box 에서 사용하기 방법 1 스냅샷 전부 삭제하기 `pvm 파일` 패키지 내용보기 hdd 확장자 파일 복사 hdd 파일 있는 위치에서 실행 /Applications/Parallels\ Desktop.app/Contents/MacOS/prl_disk_tool convert --hdd my-parallels-disk1.hdd --plain virtualbox에서 불러오기 방법 2 pvm 패키지 내용보기 hdd 확장자 파일 복사 hdd 패키지 내용보기 hds 파일 복사 hds -> hdd 로 바꾸기 virtualbox에서 불러오기 2019. 12. 31.