월 25,740원
5개월 할부 시다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
문의입니다.
도커에 사용한 python 파일들의 설명이 부족하여 궁금한 점이 많이 생겼습니다.우선 Dockerfile을 보다 궁금한 점 질문합니다. 아래와 같이 파일을 복사하는 부분이 있습니다.ADD convert_diffusers_to_original_stable_diffusion.py .ADD train.sh .ADD train_dog.sh .ADD train_cat.sh . 그런데 app.py 에서# train = os.system("bash train_dog.sh")# train = os.system("bash train_cat.sh")이렇게 주석 처리된 부분을 제외 하고, convert_diffusers_to_original_stable_diffusion.py이 파일은 실행되는 부분이 없어보입니다.?아래와 같이 주석은 있는데 어떤 용도로 사용할려고 했던건지 궁금합니다.# Compressed model to half size (4Gb -> 2Gb) to save space in gdrive folder: Models/# steps = 1200# compress = os.system("python convert_diffusers_to_original_stable_diffusion.py --model_path 'stable_diffusion_weights/" +# str(steps)+"/' --checkpoint_path ./model.ckpt --half")# print(compress) 그리고 dog.sh, cat.sh 파일을 실행하면 어떤 결과를 얻을 수 있나요소스를 보니 train_dreambooth.py 파일을 실행하는 하는 프로그램으로 보이네요
- 미해결야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
어떻게 SST라는 노드 패키지를 알게되셨고 사용하실 생각을 하셨나요?
열심히 강의를 따라가고 있는 학생입니다.지금은 강사님이 SST를 알려주시니 열심히 따라가며 배우고 있는데 언제 왜 이런 새로운 프로그램을 찾고 배워야 하는지 궁금합니다. AWS를 사용하더라도 그냥 AWS 콘솔에서 할 수도 있지않습니까? 그런데 강사님은 어떻게 이런 프로그램을 찾아보고 배우실 생각을 하실 수 있었나요? 새로 배울 시간이 부족하지는 않으셨나요? 저는 배워야 할 것도 많은 상황인데 이런 어떻게 보면 본질적이지 않은 지원 프로그램도 다 배워야 하는 건가 걱정이 됩니다.
- 해결됨야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
Lecture 8-2 axios post 관련 오류 질문있습니다
컬렉션에 이미지를 넣는것까지는 문제가 없으나 이후 정보성 이메일 체크박스 밑 확인 버튼을 누르면 바로 431 에러가 발생합니다.Postman으로 테스트할때는 문제가 없는 것 같습니다.노드버전은 20.xx 인데 버전에 문제가 있는건가요?해결방법이 궁금합니다. 감사합니다
- 미해결야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
RunPod 실행 이후 Status 변화
안녕하세요 16강까지 진행하였습니다.테스트를 위해서 실제 플로우대로 유저입장에서 서비스를 실행해봤는데요. 학습할 이미지를 업로드하고 결제한 후 RunPod 실행까지는 잘 되었습니다. 하지만 이후 메일이 온 링크로 들어가보면 STATUS 부분에서 그림 생성 시작 시간이 출력되지 않고, RunPod 은 정상적으로 종료가 되었으나 완성된 그림 보러가기 버튼을 클릭하면 이미지 생성이 아직 안 됐다고 알림창이 뜹니다. 또한 RunPod 실행이 종료되고, S3버킷에서는 result 폴더가 생성되었으나 dynamoDB에서 확인결과 cStatus는 2로 변경되지 않았습니다. 아무래도 제가 어느 부분을 빼먹은 것 같습니다. 혹시 어느 페이지를 어떻게 수정하면 해결되는지 설명 부탁드립니다. 가능하면 몇 강을 참고해야하는지도 알려주시면 감사하겠습니다. 혼자 코드와 강의를 살펴봤는데 찾질 못하겠네요,,
- 해결됨야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
안녕하세요 도커파일 빌드 중 오류 질문드립니다.
안녕하세요 강의 재밌게 잘 듣고 있습니다.감사합니다. 제가 현재 15강 진행 중에 도커파일을 빌드하는 부분에 있는데요.docker build -t raymong_lecture_serverless_ai .다음 명령어를 실행시 아래와 같은 에러가 발생합니다. [+] Building 113.3s (16/22) docker:desktop-linux=> [internal] load .dockerignore 0.0s=> => transferring context: 2B 0.0s=> [internal] load build definition from Dockerfile 0.0s=> => transferring dockerfile: 1.70kB 0.0s=> [internal] load metadata for docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime 1.6s=> [auth] pytorch/pytorch:pull token for registry-1.docker.io 0.0s=> [ 1/18] FROM docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime@sha256:9904a7e081eaca29e3ee46afac87f2879676dd3bf7b5e9b8450454d84e074ef0 0.0s=> [internal] load build context 0.0s=> => transferring context: 757B 0.0s=> CACHED [ 2/18] RUN apt-get update 0.0s=> CACHED [ 3/18] RUN apt-get install -y git build-essential 0.0s=> CACHED [ 4/18] RUN pip install -U --pre triton 0.0s=> CACHED [ 5/18] RUN pip3 install --upgrade pip 0.0s=> CACHED [ 6/18] ADD requirements.txt requirements.txt 0.0s=> CACHED [ 7/18] RUN pip3 install -r requirements.txt 0.0s=> CACHED [ 8/18] RUN pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu113 0.0s=> CACHED [ 9/18] ADD s3_file_manager.py . 0.0s=> CACHED [10/18] ADD download.py . 0.0s=> ERROR [11/18] RUN python3 download.py 111.6s------> [11/18] RUN python3 download.py:2.806 The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.0it [00:00, ?it/s]downloading reg images...19.26Fetching 11 files: 100%|██████████| 11/11 [01:12<00:00, 6.62s/it]Loading pipeline components...: 83%|████████▎ | 5/6 [00:08<00:02, 2.11s/it]The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.Loading pipeline components...: 100%|██████████| 6/6 [00:09<00:00, 1.53s/it]101.2 You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .111.6 Killed------Dockerfile:31--------------------29 | ADD s3_file_manager.py .30 | ADD download.py .31 | >>> RUN python3 download.py32 |33 | ADD convert_diffusers_to_original_stable_diffusion.py .--------------------ERROR: failed to solve: process "/bin/sh -c python3 download.py" did not complete successfully: exit code: 137 원인과 해결방법이 어떻게 될까요?
- 미해결야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
강의 자료 다운
안녕하세요 강의 자료는 어디서 다운 가능한가요?소스를 카피해서 수정(MyStack.ts 등) 해야 하는데 잘 못 찾겠어서서 문의 드립니다. 감사합니다.
- 미해결야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
npx sst dev 오류
위 명령어를 실행했을때 아래와같은 오류가 나타납니다..어떻게 해결해야할까요. 시작부터 막히네요.. SST v2.40.3 ready!➜ App: raymong-lecture-follow Stage: dev Console: https://console.sst.dev/local/raymong-lecture-follow/devError: Invalid character in header content ["authorization"]Trace: TypeError: Invalid character in header content ["authorization"] at __node_internal_captureLargerStackTrace (node:internal/errors:490:5) at new NodeError (node:internal/errors:399:5) at __node_internal_ (node:_http_outgoing:643:11) at ClientRequest.setHeader (node:_http_outgoing:666:3) at new ClientRequest (node:_http_client:292:14) at request (node:https:360:10) at C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:233:19 at new Promise (<anonymous>) at _NodeHttpHandler.handle (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:189:12) at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\middleware-serde\dist-cjs\index.js:33:24 at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\core\dist-cjs\index.js:165:18 at async StandardRetryStrategy.retry (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-retry\node_modules\@smithy\middleware-retry\dist-cjs\StandardRetryStrategy.js:51:46) at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-logger\dist-cjs\index.js:33:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:7:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:24:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:304:25 at async Promise.all (index 2) at async Object.handler (file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:327:9) at process.<anonymous> (file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/sst.js:58:21) at process.emit (node:events:525:35) at process.emit (node:domain:489:12) at process._fatalException (node:internal/process/execution:149:25) at processPromiseRejections (node:internal/process/promises:288:13) at process.processTicksAndRejections (node:internal/process/task_queues:96:32)Need help with this error? Post it in #help on the SST Discord https://sst.dev/discord
- 해결됨야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
Lecture 7 내용 진행중 오류
Lecture 7 진행 하고 있는데.. 코드를 복사해서 붙여 넣어서 똑같이 만든 다음 봐보니까 lambda.ts에서 오류?가 2개가 나오더라구요..내용은 이렇습니다.Bucket: Bucket.Uploads.bucketNameTableName: Table.Collections.tableName여기에 Uploads / Collections 가 속성이 없습니다라고 나오네요.. 확인 부탁드립니다!lambda.ts 오류 내용MyStack.ts 내용
- 해결됨야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]
Lecture 5 내용중 heic변환관련..
안녕하세요 정말 재미있을꺼 같아서 강좌 나오자마자 결제해서 보고있습니다.Lecture 5 내용중에 파일변환 하는 부분이있는데 heic2any 룰 활용해서 heic 변환하잖아요?로컬로 리액트 돌리고 이미지 업로드 할때 heic 제외하고 전부 이미지는 업로드가 되고..heic를 포함해서 업로드하면 아무런 페이지가 나오지 않는데.. 왜그런걸까요?윈도우 사용하고있는데.. 혹시나 몰라서 ms에서 제공하는 heic 코덱을 구매해서 윈도우상에서는 이미지가 읽어는 지더라구요.. 웹에서는 heic 제외하고 정상 작동합니다.. 확인 부탁드립니다! heic 포함했을때 heic 포함하지 않을때