We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeOp(label=<EntityType.External: 7>, parameters={}) NodeOp(label=<EntityType.Line: 1>, parameters={'isConstruction': False, 'dirX': 0.7071067811865475, 'dirY': 0.7071067811865475, 'pntX': 5.0, 'pntY': 5.0, 'startParam': -7.0710678118654755, 'endParam': 7.0710678118654755}) NodeOp(label=<SubnodeType.SN_Start: 101>, parameters={}) NodeOp(label=<SubnodeType.SN_End: 102>, parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(1, 2), parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(1, 3), parameters={}) NodeOp(label=<EntityType.Line: 1>, parameters={'isConstruction': False, 'dirX': 0.7071067811865475, 'dirY': -0.7071067811865475, 'pntX': 15.0, 'pntY': 5.0, 'startParam': -7.0710678118654755, 'endParam': 7.0710678118654755}) NodeOp(label=<SubnodeType.SN_Start: 101>, parameters={}) NodeOp(label=<SubnodeType.SN_End: 102>, parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(4, 5), parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(4, 6), parameters={}) NodeOp(label=<EntityType.Line: 1>, parameters={'isConstruction': False, 'dirX': 1.0, 'dirY': 0.0, 'pntX': 10.0, 'pntY': -0.0, 'startParam': -10.0, 'endParam': 10.0}) NodeOp(label=<SubnodeType.SN_Start: 101>, parameters={}) NodeOp(label=<SubnodeType.SN_End: 102>, parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(7, 8), parameters={}) EdgeOp(label=<ConstraintType.Subnode: 101>, references=(7, 9), parameters={}) NodeOp(label=<EntityType.Stop: 8>, parameters={}) EdgeOp(label=<ConstraintType.Coincident: 0>, references=(3, 5), parameters={}) EdgeOp(label=<ConstraintType.Coincident: 0>, references=(6, 9), parameters={}) EdgeOp(label=<ConstraintType.Coincident: 0>, references=(8, 2), parameters={})
import sketchgraphs.data as datalib from SketchGraphs.sketchgraphs.data.flat_array import save_list_flat, pack_dictionary_flat, FlatSerializedArray sketch = datalib.sketch_from_sequence(sequence) array = save_list_flat([sketch]) flatArray = FlatSerializedArray.from_flat_array(array) data = {"sequences": flatArray} np.save('test.npy', pack_dictionary_flat(data))
python SketchConcept/train.py -d ./Data/ -e experiment_directory/sample_pretrain_exp --train_file test.npy -v True -c 180
# batch_prim_param_GT tensor([[ 0, 39, 39, 39, 39, -1], [ 0, 39, 39, 39, 39, -1], [ 0, 39, 39, 39, 39, -1]]) # batch_const_param_GT tensor([[-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]]) # batch_const_param_type_GT tensor([[-1, -1], [-1, -1], [-1, -1]])
python plot_interactive_visualize.py -d ./Data/ -e experiment_directory/sample_pretrain_exp --train_file test.npy --epoch 181
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Triangle Sequence
Save
Run
Check param_GT during running
Result visulaization
+ in cpu
The text was updated successfully, but these errors were encountered: