Update README.md

This commit is contained in:
Yuki-Kokomi
2024-10-13 16:07:17 +08:00
committed by GitHub
parent e3afe77aef
commit a3fb458265

View File

@@ -108,6 +108,12 @@ conda install -c conda-forge pythonocc-core=7.5.1
Afterwards, you can convert the OpenECAD Python files to STEP files. Before using them, make sure to remove any non-code parts generated by the model.
```python
```shell
python py2step.py --src <Python_Files_Path> -o <Output_Path>
```
We provide test cases at https://huggingface.co/datasets/Yuki-Kokomi/OpenECADv2-Datasets/blob/main/OpenECADv2_EvaluationExamples.zip, which include input images, corresponding reference code, the code results generated by us, and a Python script used to compare the reference code with the generated code and assign scores. To get the score:
```shell
python check_scores.py --gen <Gen_Python_Codes_Folder> --ans <Reference_Code_Folder> --output <Output_CSV_Path>
```