편집 기록

편집 기록
  • 프로필 nowp님의 편집
    날짜2020.11.23

    (ubuntu) keras에서 model.save오류 도와주세요


    model.fit(TrainX, TrainY, batch_size=30, epochs=3, verbose=1)
    
    model.save("models.h5")
    

    error :

    File "/usr/local/lib/python3.7/site-packages/h5py/_hl/group.py", line 143, in create_dataset 
     if '/' in name:
    TypeError: a bytes-like object is required, not 'str'
    
  • 프로필 알 수 없는 사용자님의 편집
    날짜2020.11.21

    (ubuntu) keras에서 model.save오류 도와주세요


    model.fit(TrainX, TrainY, batch_size=30, epochs=3, verbose=1)

    model.save("models.h5")

    error :

    File "/usr/local/lib/python3.7/site-packages/h5py/_hl/group.py", line 143, in create_dataset if '/' in name: TypeError: a bytes-like object is required, not 'str'