kopia lustrzana https://github.com/lzzcd001/MeshDiffusion
first commit
rodzic
64d4c17c1d
commit
2cf9fa9a26
|
@ -41,7 +41,7 @@ Later run
|
|||
|
||||
```
|
||||
cd nvdiffrec
|
||||
python eval.py --config $DMTET_CONFIG --sample-path $SAMPLE_PATH --deform-scale $DEFORM_SCALE [--angle_index $ANGLE_INDEX]
|
||||
python eval.py --config $DMTET_CONFIG --sample-path $SAMPLE_PATH --deform-scale $DEFORM_SCALE [--angle-index $ANGLE_INDEX]
|
||||
```
|
||||
|
||||
where `$SAMPLE_PATH` is the generated sample `.npy` file in `$OUTPUT_PATH`, and `$DEFORM_SCALE` is the scale of deformation of tet vertices set for the DMTet dataset (we use 3.0 for resolution 64 as default; change the value for your own datasets). Change `$ANGLE_INDEX` to some number from 0 to 50 if images rendered from different angles are desired.
|
||||
|
|
|
@ -321,7 +321,7 @@ if __name__ == "__main__":
|
|||
parser.add_argument('-vn', '--viz-name', type=str, default='viz')
|
||||
parser.add_argument('--unnormalized_sdf', action="store_true")
|
||||
parser.add_argument('--validate', type=bool, default=True)
|
||||
parser.add_argument('--angle-index', type=int, default=25)
|
||||
parser.add_argument('--angle-index', type=int, default=25, help='z-axis rotation of the object, from 0 to 50')
|
||||
|
||||
FLAGS = parser.parse_args()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue