안녕하세요. 잘 이해가 가지 않는 부분이 있어 질문드립니다. If dp[idx]!=-1: Return 을 하는데, idx가 끝까지 가서 끝에서 부터 계산되는 것은 이해가 되는데, 처음 들어간 값이 항상 max값이라고 어떻게 확신할수 있는지를 모르겠습니다. dp[idx]가 들어있는 경우는 항상 최대값이라는 것에 대해 설명해주실수 있으실까요?
강의를 들으면서 코드를 따라 쳐보거나 개인적으로 간단한 기본 게시판을 만들어보면서 "보일러플레이트가 좀 많은데?"라는 생각이 들었습니다. 물론 FastAPI의 비동기 처리나 ML 붙이기도 쉬우며 api 개발과 문서화가 빠르고 간편하다는 장점이 있지만 이것만으로 실제 서비스 상황에서 FastAPI를 선택하는 이유가 되는 지에 대해 의문이 들었습니다. 실무에서는 어떤 기준으로 FastAPI를 고려하게 되는 지 질문드리고 싶습니다!
우선 강의에서 들은 바대로 한 싸이클을 다 진행해봐서~이제 제 맞춤식으로 조정하고자 나레이션과 타이틀을 영문으로 입력 이미지와 비디오를 6개로 제작하고자 엑셀시트와 프롬프트의 숫자들을 수정했습니다 >>> 오류 상황 Model output doesn't fit required format To continue the execution when this happens, change the 'On Error' parameter in the root node's settings gpt로부터 아웃풋은 받았고 현재 output parser에서 오류가 나는 상황입니다. paser에게 전달된 영문 소스를 봤을 때 작은따옴표' 때문에 오류가 나는것인가 싶은데 영문일 때는 어떻게 해결할 수 있는지 궁금합니다~ (그리고 수업 정말 잘 들었습니다 수강생들이 실수할 만한 것들도 다 알려주셔서 좋았어요! 감사합니다) { "action": "parse", "text": "```json\n{\"output\":{\"items\":[{\"text\":\"A dynamic aerial shot sweeps over the dramatic cliffs and serene waters of Yeongwol, Gangwon-do, the sunlight casting long shadows as the camera glides through the mist, capturing the haunting beauty that sets the stage for the young King and village chief's story, cinematic with dramatic lighting.\"},{\"text\":\"A close-up of dense pine forest branches swaying in a restless breeze, the camera moving swiftly through the shadows as a solitary young figure representing King Danjong walks cautiously, his expression filled with quiet desperation, while the surrounding wilderness pulses with a sense of profound solitude and suspenseful tension.\"},{\"text\":\"An intense moment showing Eom Heung-do, the village chief, braving the elements—stepping firmly over rugged terrain with a determined gaze—risking his own safety as the camera follows his purposeful stride under filtered light piercing through the pine canopy, evoking loyalty and sacrifice in a cinematic historical style.\"},{\"text\":\"The scene transitions to a sweeping view of Cheongnyeongpo, with crashing waves below and sheer cliffs towering above; the camera circles around as the wind rustles the pines, embodying the emotional weight of exile and loneliness, rendered with epic and dramatic contrasts between shadow and light.\"},{\"text\":\"The camera slows at Jangneung, a solemn and elegant UNESCO World Heritage site, illuminated by the soft glow of a setting sun; moving slowly around the King’s final resting place, the scene emanates tranquility and reverence, the atmosphere suffused with respectful silence and cinematic grandeur.\"},{\"text\":\"Closing with a lively, inviting panorama of Yeongwol village bustling gently with visitors and locals bathed in warm, golden-hour light, the camera pulls back to reveal the harmonious blend of history and nature, encouraging viewers to embark on a soulful journey, captured in an uplifting yet dramatic cinematic style.\"}]}}" }
현재 게시판, 중고마켓 모두 로그인한 유저만 댓글을 작성할 수 있도록 변경하여 프로젝트 진행중에 있습니다. 게시판 댓글과 중고마켓 댓글 모두 return되는 BoardComment , UsedItemQuestion 타입에는 모두 User 타입의 정보가 있는데 댓글 생성시 필요한 argument에는 유저 정보를 입력할 수가 없어서 어떻게 유저 정보를 입력할 수 있는 것인지 궁금하여 질문드립니다!
하이딩과 static, 상속 관련해서 질문이 있습니다. 일반적인 상속 상황을 가정할 때 부모, 자식에게 둘 다 있는 메서드(즉, 오버라이딩): 자식꺼 사용 부모, 자식에게 둘 다 있는 static 메서드: 부모꺼 사용 부모, 자식에게 둘 다 있는 변수: 객체의 자료형(Parent p = new Child();의 경우 Parent의 변수 사용, Child c = mew Child();의 경우 Child의 변수 사용)에 맞는 변수 사용 이 맞을까요?
안녕하세요 오늘까지 전체수업 한번 쭉 들어봤습니다. 고민이 저는 파이썬 장고가 조금 익숙한데 .. 이번강의 에서 Next.js + Supabase조합은 사실 조금 생소합니다. 디버깅등 보다 완성도 있는 코딩을 하려면 AI에만 의존할 수 없는데 그럼 이조합이 가장 이상적인것인지.. 나중에 AI 분석에 들어가면 많은 분석기법을 파이썬에서 해야하는데 그걸 이 웹조합과 연계도 문제가 없는지 그리고 가장 중요한 질문은 지금 처음부터 next.js 나 supabase를 처음부터 공부하기에는 또 이번 수업에 나오는 다양한 기존 툴들 공부하려면 어디서 부터 어떻게 해야하는지요 .. 너무 기본적인 질문인가요
url = "https://finance.naver.com/item/sise.nhn?code=352820" pd.read_html(url, encoding='cp949') AttributeError: 'SoupStrainer' object has no attribute 'name' 상기와 같이 코드 실행시 에러가 발생합니다.. 원인을 알려주십시요
========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. '클래스 도입'이라는 강의 16:25 쯤 강사님이 "마치 method을 호출하고 반환한 것처럼 끝나고 나면 참조값을 딱 반환합니다. " 라고 하셨는데 매서드를 호출하고 반환할 때 원래 위치로 돌아가는 것이 참조값을 반환해서 라고 이해하면 될까요? 무슨 말인지 잘 이해가 안 됩니다.
Error occurred prerendering page "/book/1". Read more: https://nextjs.org/docs/messages/prerender-error Error: Review fetch failed: Unauthorized at p (.next/server/chunks/146.js:1:3768) { digest: '73929900' } Export encountered an error on /book/[id]/page: /book/1, exiting the build. ⨯ Next.js build worker exited with code: 1 and signal: null Error: Command "npm run build" exited with 1 상황설명 에러가 발생하여 env를 추가 하였습니다. 동일한 에러가 발생하여 배포한 서버로 접속하니 인덱스 페이지 접근은 잘 됐지만 api접근이 불가능하였습니다. AI 돌려보니 백단 코드 수정이 필요하다해서 백단 코드 수정 후 브라우저로 api에 접근하니 데이터를 정상적으로 가져왔습니다. 확인 후 프론트 환경변수도 다시한번 변경 해줬습니다. 하지만 프론트 서버에서는 저 에러가 빌드 로그로 출력되더라구요 뭐가 문제인지 감이안잡히네요 ㅎ;;;