본문 바로가기

분류 전체보기276

XLabs-AI🚀flux-lora-collection https://huggingface.co/XLabs-AI/flux-lora-collection/tree/main XLabs-AI/flux-lora-collection at main huggingface.coprompt: A handsome 25-year-old man in a sleek, modern suit stands outside under sunlight with a flash adding a futuristic touch. The image has a cool, cinematic feel as if shot on 35mm film. The man is giving a confident high-five, that reads 'FLUX.1' and 'LoRAs' on the next line. W.. 2024. 8. 11.
Imagen 3 -구글 딥마인드 이미지 생성 https://deepmind.google/technologies/imagen-3/ Imagen 3Imagen 3 is our highest quality text-to-image model, capable of generating images with even better detail, richer lighting and fewer distracting artifacts than our previous models.deepmind.google  장소나 배경에 특화된 느낌.데이터셋이 뭔지 딱 알겠네.생성 실패가 많음.퀄리티가 좋고 프롬프트가 정제되어 있어서 좋음. 2024. 8. 11.
백준17247🐨택시거리 import syscoop = []head,*data = sys.stdin.read().splitlines()row, col = map(int,head.split())for i in range(row): line = data[i] if '1' in line: j = line.split().index('1') coop+=[i,j] if len(coop) == 4: print(abs(coop[0] - coop[2]) + abs(coop[1] - coop[3])) sys.exit()32ms코드.두개의 1의 좌표를 구해서 식에 넣기만 하면 되는 문제.1을 찾을 때 연산을 줄이려고 문자열 상태로 받아서 찾은 뒤 인덱스 찾을 때.. 2024. 8. 10.
파이썬 입출력🐨파일 디스크럽터 파일 디스크립터(File Descriptor)는 운영 체제에서 파일이나 입출력(I/O) 리소스에 접근하기 위해 사용하는 추상적인 핸들이다. 주로 유닉스 계열 운영 체제(리눅스, macOS 등)에서 많이 사용되며, 파일, 소켓, 파이프, 디바이스 등 다양한 I/O 리소스를 식별하는 데 사용된다.파일 디스크립터의 주요 특징과 개념은 다음과 같다:정수 값: 파일 디스크립터는 간단히 말해 작은 정수 값이다. 이 정수는 운영 체제가 해당 프로세스에서 열려 있는 파일이나 I/O 리소스를 추적할 수 있도록 한다. 예를 들어, 표준 입력(키보드 입력)은 파일 디스크립터 0, 표준 출력(화면 출력)은 파일 디스크립터 1, 표준 오류 출력은 파일 디스크립터 2로 예약되어 있다.리소스 관리: 운영 체제는 파일 디스크립터를 .. 2024. 8. 9.
백준11637🐨인기 투표 - 입출력 속도 실험 #n 들어가기 전에 제대로 된 저 말고 진짜 프로그래밍 고수님들의 말을 전합니다.최적화로 10ms 줄일 고민하기 전에 제발 알고리즘으로 10s 줄일 생각을 해라.Stay safe. Don't try this at home.위 표의 순서대로 코드를 아래에 열거했다.import osT,*arr = map(int,os.read(0,os.fstat(0).st_size).decode().split())it=iter(arr)res = ["" for _ in range(T)]for j in range(T): n = next(it) a = [next(it) for i in range(n)] s = sum(a) mx = max(a) res[j] = "no winner" if a.count(mx)-1.. 2024. 8. 9.
🚀Flux.1 dev 모델 설치 후기🚀 손가락이랑 글자가....ㄷㄷㄷ 이건 그냥 Binary Search한 마디 쳤다.그냥"Ferrari 라고 쳤다.GPT달리와 비교하면 달리는 뭔가 글자가 어눌하다.달리는 이 정도. 2024. 8. 8.
[SUNO]BINARY SEARCH 투표!1번2번3번 4번5번 2024. 8. 8.
[SUNO]BFS https://suno.com/song/a8d364de-5a79-41ac-9dd0-1437d97ea8b3 BFS by @hanzch | SunoK-pop, Alternative, Female, Emotional, Introspective, Love, Space, Ballad, Rock, Mid-tempo, Astronomical, Dramatic song. Listen and make your own with Suno.suno.comhttps://suno.com/song/36036e8a-fe2f-4653-92b7-762d9d23d016 BFS by @hanzch | SunoK-pop, Alternative, Female vocal, Emotional, Introspective, Love, Space, B.. 2024. 8. 7.
[SUNO]ALGORYTHMS 2024. 8. 6.
[SUNO]FRONTEND 2024. 8. 6.
[SUNO]DFS 동그라미로 그려유, 니네들 집을 줄로 연결혀, 길 있는 데는 쭉~ 우리가 이제 술래여, 선상님이 시작점 찍으먼 형사님맹키로, 머리 굴려보는 겨 디에프에스여, 그래프를 뒤적거려 깊이 우선 탐색이랑게, 쑥 들어갔다 나오는 겨 온 동네 빙빙 돌어, 구석구석 뒤져봐유 이 알고리즘, 참 신기할 겨유 집집이 번호 매겨, 순서대로 착착 옆집을 찾아보는 겨, 그게 이 놀음의 묘미여 새로 본 집 있으먼, 얼릉 가봐유 꾸물대지 말고, 빨리 가봐유 더 갈 데 없어? 속상해하지 마유 뒤로 슬슬 가보먼서, 새 길 찾아보는 겨 모든 길 다 돌아댕겼으먼, 게임 끝났어유~ 숫자 불러보슈, 못 간 집은 영이여 꼬불꼬불 미로맹키로, 쑥 들어갔다 나왔다 허고 새 길 찾아 헤매는 겨, 이 그래프 안에서 어렵담? 아니여~ 할 수 있을 겨 온.. 2024. 8. 6.
백준18005🐨Even or Odd? https://www.acmicpc.net/problem/18005문제의 주요 조건을 살펴보자.picked n consecutive positive integers between 1 and 1018 guess if their sum is even or oddIf the sum must be even, write 2.If the sum must be odd, write 1.If the sum could be even or could be odd, write 0.The single line of input contains a single integer n (1 ≤ n ≤ 109). 일련의 $n$개 수의 합이 홀수가 되거나 짝수가 되는 것은홀수로 시작하는지 짝수로 시작하는지가 영향을 줄 것이다.홀수로 시작하는.. 2024. 8. 6.