펭귄’s 공부노트
close
프로필 배경
프로필 로고

펭귄’s 공부노트

  • 분류 전체보기 (56)
    • 인공지능 (0)
      • computer vision (0)
      • tabular (0)
      • 기타 (4)
    • UAV (3)
    • IT (4)
    • 코딩테스트 (0)
      • BOJ (0)
      • 프로그래머스 (40)
    • 기타 (2)
  • 홈
  • 태그
[Tensorflow, Mac] WARNING:absl:At this time, the v2.11+ optimizer 'tf.keras.optimizers.Adam' runs slowly on M1/M2 Macs, please use the legacy Keras optimizer instead, located at 'tf.keras.optimizers.legacy.Adam'

[Tensorflow, Mac] WARNING:absl:At this time, the v2.11+ optimizer 'tf.keras.optimizers.Adam' runs slowly on M1/M2 Macs, please use the legacy Keras optimizer instead, located at 'tf.keras.optimizers.legacy.Adam'

펭귄은 M1 칩이 탑재된 Macbook에서 Tensorflow로 모델을 학습하던 중, Adam optimizer를 사용하자 실행하자 아래의 warning이 발생했다. WARNING:absl:At this time, the v2.11+ optimizer 'tf.keras.optimizers.Adam' runs slowly on M1/M2 Macs, please use the legacy Keras optimizer instead, located at 'tf.keras.optimizers.legacy.Adam' 위 Warning이 발생한 이유는 아래와 같다.tf.keras.optimizers.Adam이 M1/M2 등 Mac의 GPU에서 느리게 동작하기 때문펭귄은 Warning에서 권고한대로, tf.keras..

  • format_list_bulleted 인공지능/기타
  • · 2024. 5. 8.
  • textsms
[Tensorflow, Mac] InvalidArgumentError: Cannot assign a device for operation model/dense_1/MatMul/ReadVariableOp: Could not satisfy explicit device specification

[Tensorflow, Mac] InvalidArgumentError: Cannot assign a device for operation model/dense_1/MatMul/ReadVariableOp: Could not satisfy explicit device specification

펭귄은 M1 칩이 탑재된 Macbook에서 Tensorflow로 모델을 학습하던 중, fit을 실행하자 아래의 에러가 발생했다.InvalidArgumentError: Cannot assign a device for operation model/dense_1/MatMul/ReadVariableOp: Could not satisfy explicit device specification '' because the node {{colocation_node model/dense_1/MatMul/ReadVariableOp}} was colocated with a group of nodes that required incompatible device '/job:localhost/replica:0/task:0/devi..

  • format_list_bulleted 인공지능/기타
  • · 2024. 5. 8.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • 분류 전체보기 (56)
    • 인공지능 (0)
      • computer vision (0)
      • tabular (0)
      • 기타 (4)
    • UAV (3)
    • IT (4)
    • 코딩테스트 (0)
      • BOJ (0)
      • 프로그래머스 (40)
    • 기타 (2)
최근 글
인기 글
태그
  • #코딩테스트
  • #Python
  • #코딩테스트입문
  • #PCCE
  • #완전탐색
  • #코딩테스트고득점Kit
  • #TensorFlow
  • #error
  • #인공지능
  • #프로그래머스
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바