microsoft / microsoft/CADFusion

inference output

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
91
Forks
20
PR merge metrics
No merged PRs in 30d

Description

When I used src/test/inference.py to generate cad sequence output, I got this:
""ground_truth": "line,8,37 <curve_end> line,15,30 <curve_end> line,15,28 <curve_end> arc,19,28,20,32 <curve_end> line,22,36 <curve_end> line,15,44 <curve_end> <loop_end> <face_end> line,15,44 <curve_end> arc,22,36,31,40 <curve_end> line,40,36 <curve_end> line,47,44 <curve_end> line,38,53 <curve_end> line,31,53 <curve_end> line,24,53 <curve_end> <loop_end> circle,26,51,26,41,31,46,21,46 <curve_end> <loop_end> circle,36,51,36,41,41,46,31,46 <curve_end> <loop_end> <face_end> line,15,18 <curve_end> line,23,9 <curve_end> line,31,9 <curve_end> line,39,9 <curve_end> line,47,18 <curve_end> line,47,28 <curve_end> arc,43,28,31,15 <curve_end> line,19,28 <curve_end> line,15,28 <curve_end> <loop_end> <face_end> circle,26,51,26,41,31,46,21,46 <curve_end> <loop_end> circle,26,47,26,45,27,46,24,46 <curve_end> <loop_end> <face_end> circle,26,47,26,45,27,46,24,46 <curve_end> <loop_end> <face_end> circle,36,51,36,41,41,46,31,46 <curve_end> <loop_end> circle,36,47,36,45,38,46,35,46 <curve_end> <loop_end> <face_end> circle,36,47,36,45,38,46,35,46 <curve_end> <loop_end> <face_end> arc,40,36,42,32 <curve_end> line,43,28 <curve_end> line,47,28 <curve_end> line,47,30 <curve_end> line,54,37 <curve_end> line,47,44 <curve_end> <loop_end> <face_end> <sketch_end> add,31,33,31,31,31,1,0,0,0,0,1,0,-1,0,57,31,28 <extrude_end> line,0,25 <curve_end> line,0,37 <curve_end> line,9,28 <curve_end> line,9,25 <curve_end> line,5,25 <curve_end> <loop_end> <face_end> line,53,25 <curve_end> line,57,25 <curve_end> line,62,25 <curve_end> line,62,37 <curve_end> line,53,28 <curve_end> <loop_end> <face_end> <sketch_end> add,31,33,31,31,31,1,0,0,0,0,1,0,-1,0,42,31,30 <extrude_end>", "description": "The 3D shape is a mechanical component with a twelve-sided prism base and a large central circular cutout. The prism has two inward concave right angles. It features two circular ring holes on the top flat surface, each located above the circular cutout.\u00a0", "prompt": "Below is a description of a 3D shape:\nThe 3D shape is a mechanical component with a twelve-sided prism base and a large central circular cutout. The prism has two inward concave right angles. It features two circular ring holes on the top flat surface, each located above the circular cutout.\u00a0\nGenerate a Computer-Aided Design(CAD) command sequence of the 3D shape:\n", "output": "_REF\n203 -164_REF,://227326206452226\ufffd203 [199[23avage?_REF...:_REF\u2026161,200113_REF \u00a712229_REF100_REF\u00e4_REF\u00e9 Angeles460_REF \u00c9ieldsations20280_REF\u00fc_REF \u0435\u0449\u0451,_REF \u0435\u0451 \u2018233 '2_REF\u00f8illing167_REF\u00e9_REF\u00e5_REF \u00e9://_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REFirtual_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REFblockquote_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REFood_REF={()_REF_REF://_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF9664_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REForet_REF_REF_REF_REF\u2019t_REF_REF_REF_REF_REF_REF_REF_REF://_REF://_REF_REF://_REF95_REF_REF_REF_REF_REF_REF_REF://_REFained_REF_REF://_REF_REF_REF_REF_REF99_REF_REF_REF_REFatement_REF_REF\u043f\u0440\u0430\u0432_REF_REF_REF://_REF_REF_REFigh838_REF_REF_REF_REFerman_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF://_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF://_REF_REF_REF_REF_REF_REF_REF_REF_REF_REFneum_REF_REF_REF_REF_REF_REF\ufffd\ufffd_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF_REF""
The output looks like uncorrect. What is this problem? Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running src/test/inference.py and compare the generated output with the ground_truth CAD command sequence shown in the issue. Trace where the malformed output is produced and determine what correction is needed; done means inference returns a valid CAD command sequence for the supplied description.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.