PKL1 [python/ML] typeerror: '>' not supported between instances of 'nonetype' and 'int' 오류 / 최종 모델 불러오기 오류 / MAC, WINDOWS 협업 문제점 1. 문제typeerror: '>' not supported between instances of 'nonetype' and 'int' 오류 발생세미 프로젝트 진행 중 최종 모델을 pkl 파일로 load해서, streamlit 앱 내에서 작동시키는 작업을 진행하고 있었습니다. 모든 작업을 올바르게 했는데, predict를 실행시키면 위와 같은 오류가 발생하더라고요.코드는 다음과 같았습니다.import streamlit as stimport joblibimport numpy as npimport pandas as pd# 모델 불러오기model1 = joblib.load("models/gm_model.pkl")model2 = joblib.load("models/ngm_model.pkl")# 데이터 프레임 불.. 2023. 9. 25. 이전 1 다음