mirror of
https://github.com/Yuki-Kokomi/OpenECAD_Project.git
synced 2026-02-04 00:33:22 -05:00
Update README.md
This commit is contained in:
@@ -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>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user