Spaces:
Runtime error
Runtime error
Nadine Rueegg
commited on
Commit
·
2af9f60
1
Parent(s):
9d63702
adjust path in odel_shape_v7_withref_withgraphcnn.py
Browse files
src/combined_model/model_shape_v7_withref_withgraphcnn.py
CHANGED
@@ -304,7 +304,7 @@ class ModelRefinement(nn.Module):
|
|
304 |
num_downsampling = 1
|
305 |
smal_model_type = '39dogs_norm'
|
306 |
smal = SMAL(smal_model_type=smal_model_type, template_name='neutral')
|
307 |
-
ROOT_smal_downsampling = '/
|
308 |
smal_downsampling_npz_name = 'mesh_downsampling_' + os.path.basename(SMAL_MODEL_CONFIG[smal_model_type]['smal_model_path']).replace('.pkl', '_template.npz')
|
309 |
smal_downsampling_npz_path = ROOT_smal_downsampling + smal_downsampling_npz_name # 'data/mesh_downsampling.npz'
|
310 |
self.my_custom_smal_dog_mesh = Mesh(filename=smal_downsampling_npz_path, num_downsampling=num_downsampling, nsize=1, body_model=smal) # , device=device)
|
|
|
304 |
num_downsampling = 1
|
305 |
smal_model_type = '39dogs_norm'
|
306 |
smal = SMAL(smal_model_type=smal_model_type, template_name='neutral')
|
307 |
+
ROOT_smal_downsampling = './../../data/graphcmr_data/'
|
308 |
smal_downsampling_npz_name = 'mesh_downsampling_' + os.path.basename(SMAL_MODEL_CONFIG[smal_model_type]['smal_model_path']).replace('.pkl', '_template.npz')
|
309 |
smal_downsampling_npz_path = ROOT_smal_downsampling + smal_downsampling_npz_name # 'data/mesh_downsampling.npz'
|
310 |
self.my_custom_smal_dog_mesh = Mesh(filename=smal_downsampling_npz_path, num_downsampling=num_downsampling, nsize=1, body_model=smal) # , device=device)
|