pull/1/head
Zhen Liu 2023-03-12 02:06:34 +08:00
rodzic d2c145de0a
commit ca5c631a33
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -41,7 +41,7 @@ Later run
```
cd nvdiffrec
python eval.py --config $DMTET_CONFIG --out-dir $OUT_DIR --sample-path $SAMPLE_PATH --deform-scale $DEFORM_SCALE [--angle-index $ANGLE_INDEX]
python eval.py --config $DMTET_CONFIG --out-dir $OUT_DIR --sample-path $SAMPLE_PATH --deform-scale $DEFORM_SCALE [--angle-ind $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.

Wyświetl plik

@ -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, help='z-axis rotation of the object, from 0 to 50')
parser.add_argument('--angle-ind', type=int, default=25, help='z-axis rotation of the object, from 0 to 50')
FLAGS = parser.parse_args()