전체 글
-
[BMI estimator] A Skeleton-Free Kinect System for Body Mass Index Assessment using Deep Neural Networks논문 리뷰/오늘의 논문 2022. 4. 11. 12:43
############################################# # 공동 연구로 BMI estimator를 만들기위한 관련 논문 읽기 # ############################################# 이 논문의 내용은 제목에 쓰여있듯이, bmi를 kinect rgb-d 로 estimate하는 framework를 논문의 주제로 한다. 서론 - 사람마다 각각 키, 체중과 같은 단순한 요소도 다름, 지리적으로 유사성을 볼 수 있으나, 유전과 생활방식에 전적으로 의존함. [P. B. Eveleth and J. M. Tanner, Worldwide variation in human growth. CUP Archive, 1976, vol. 8.] - 이들을 일반적으로 측정하기 ..
-
data_loaderBase Line/python 기초 코드 2022. 4. 4. 15:29
# Created by ylab604 # ------------------------------------------------------------------------------ import os import random import glob import torch import torch.utils.data as data import pandas as pd from PIL import Image, ImageFile import numpy as np import torchvision.transforms as transforms from lib.utils.transforms import fliplr_joints, crop, generate_target, transform_pixel ImageFile.LO..
-
model load missing keys and unexpected keys에러 삽질 2022. 4. 2. 14:28
모델로드시 생긴 에러 파이토치 만드신분들 존경하며, 차근차근 에러를 고쳐보자 무슨뜻일까? 네트워크는 그대로인데 학습시킨 weight 와 bias를 각 레이어에 맞게 불러오지 못했다는 소리 RuntimeError: Error(s) in loading state_dict for DataParallel: Missing key(s) in state_dict: "module.conv1.weight", "module.bn1.weight", "module.bn1.bias", "module.bn1.running_mean", "module.bn1.running_var", "module.conv2.weight", "module.bn2.weight", "module.bn2.bias", "module.bn2.runnin g_..
-
Depth_Render.pyBase Line/python 기초 코드 2022. 3. 16. 08:23
##Depth_Render.py """ 무수한 주석처리 양해좀 ㅎㅎ """ import torch.nn as nn import torch #from engineer.render.PIFuhd import gl # 기본으로 해줘야됨 from .Base_Render import _Base_Render # 노말 체크 from .registry import NORMAL_RENDER # face3D from engineer.render.face3d import mesh import numpy as np from PIL import Image ######check from math import cos, sin def similarity_transform(vertices, s, R, t3d): ''' similarit..
-
open3d extract depth map from meshBase Line/python 기초 코드 2022. 3. 14. 22:16
별의별것을 다해봤던거 같다 그나마 가장 깔끔하고 자동화 가능할 거 같은 open3d 라이브러리가 나은 거 같다. 이럴때면 누가 옆에서 알려줬으면... ㅋㅋ import open3d as o3d import math import os import camera import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np #import open3d import cv2 as cv #import loader.loader as load #from PIL import Image smplpath="C:\\Users\\user\\Desktop\\normal\\0003.obj" filepath,fullflname = os.path.s..
-
path & osBase Line/python 기초 코드 2022. 3. 9. 19:12
import os import glob ##first folder transform to 0000_OBJ file_path="C:\\Users\\user\\Downloads\\THuman2.0_Release" file_names = os.listdir(file_path) print(file_names) for name in file_names: input = os.path.join(file_path,name) output = name+'_OBJ' output = os.path.join(file_path,output) os.rename(input,output) file_path="C:\\Users\\user\\Downloads\\THuman2.0_Release" file_names = os.listdir(..