tqdm ์ธ๋ค์ผํ ๋ฆฌ์คํธํ 1/11 ์ 1. tqdm in list comprehension / in pandas import pandas as pd import numpy as np from tqdm import tqdm # from tqdm.notebook import tqdm # Ver. 1 For Jupyter Notebook # from tqdm.auto import tqdm # Ver. 2 For Jupyter Notebook def process(token): return token['text'] l1 = [{'text': k} for k in range(5000)] l2 = [process(token) for token in tqdm(l1)] # tqdm in list comprehension #------------------.. ๋๋ณด๊ธฐ 4/18 ์ ์์์ผ! ์ค๋์ ๋ณต์กํ ์ด๋ฏธ์ง ํ์ต(์บ๊ธ์ ๊ฐ์ ๊ณ ์์ด ์์ )๊ณผ Generator๋ฅผ ๋ฐฐ์ด๋ค. 1. ์ด๋ฏธ์ง ํ์ผ → csv ํ์ผ๋ก ๋ณํ jpg ํ์ผ์ ์ฝ์ด์ RGB pixel ๊ฐ์ ์ป์ด๋ด๊ณ (decoding) ์ค์๋ก ๋ณํํ ๋ค์ ์ ๊ทํ ์์ ์ ์ํด ๊ด๋ฆฌ์ ๊ถํ์ผ๋ก tqdm(์ํ ์งํ๋ฅ ์๋ ค์ฃผ๋ ํ๋ก๊ทธ๋ ์ค ๋ฐ ๋ผ์ด๋ธ๋ฌ๋ฆฌ)๊ณผ ipywidgets, ์ด๋ฏธ์ง ์ฒ๋ฆฌ๋ฅผ ์ํ opencv ์ค์น @ Anaconda Prompt conda install -c conda-forge tqdm conda install -c conda-forge ipywidgets pip install opencv-python jupyter notebook @ Jupyter Notebook import numpy as np import pandas.. ๋๋ณด๊ธฐ ์ด์ 1 ๋ค์