-
Notifications
You must be signed in to change notification settings - Fork 25
/
visual.py
39 lines (28 loc) · 1.09 KB
/
visual.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
#-*- coding:utf-8 _*-
"""
@author:liruihui
@file: train.py
@time: 2019/09/17
@contact: [email protected]
@github: https://liruihui.github.io/
@description:
"""
import os
import pprint
pp = pprint.PrettyPrinter()
from datetime import datetime
from Generation.model_test import Model
from Generation.config import opts
if __name__ == '__main__':
opts.pretrain_model_G = "table_G.pth"
opts.log_dir = "models"
model = Model(opts)
model.draw_correspondense() # draw the correspondense between sphere and shape
#model.draw_shape_intepolate() # shape inteporlate
#model.draw_part_shape_inte() # shape inteporlate vs part-wise shape inteporlate
#model.draw_part_shape_inte_detail() # shape inteporlate vs multi-path part-wise shape inteporlate
#model.draw_part_edit() # random change the noise on selected region
#model.draw_part_flip() # negative the noise vector along x,y,z zxis
#model.draw_edit_inte() # combine for part edit & part/shape interpolate
#model.draw_part_exchange() # exchange the noise vector of two regions of two shape