Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- ag4mout/ag.err +71 -0
- ag4mout/output.png +0 -0
- ag4mout/output.txt +2 -0
- ag4mout/solution.out +15 -0
ag4mout/ag.err
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
+ BATCH_SIZE=32
|
2 |
+
+ BEAM_SIZE=512
|
3 |
+
+ DEPTH=16
|
4 |
+
+ NWORKERS=1
|
5 |
+
+ PROB_FILE=ag4mout/output.txt
|
6 |
+
+ PROB=Output
|
7 |
+
+ MODEL=ddar
|
8 |
+
+ DATA=aglib/ag_ckpt_vocab
|
9 |
+
+ MELIAD_PATH=aglib/meliad
|
10 |
+
+ export PYTHONPATH=:ag4masses/alphageometry:aglib:aglib/meliad
|
11 |
+
+ PYTHONPATH=:ag4masses/alphageometry:aglib:aglib/meliad
|
12 |
+
+ DDAR_ARGS=(--defs_file=$AGDIR/defs.txt --rules_file=$AGDIR/rules.txt)
|
13 |
+
+ SEARCH_ARGS=(--beam_size=$BEAM_SIZE --search_depth=$DEPTH)
|
14 |
+
+ LM_ARGS=(--ckpt_path=$DATA --vocab_path=$DATA/geometry.757.model --gin_search_paths=$MELIAD_PATH/transformer/configs,$AGDIR --gin_file=base_htrans.gin --gin_file=size/medium_150M.gin --gin_file=options/positions_t5.gin --gin_file=options/lr_cosine_decay.gin --gin_file=options/seq_1024_nocache.gin --gin_file=geometry_150M_generate.gin --gin_param=DecoderOnlyLanguageModelGenerate.output_token_losses=True --gin_param=TransformerTaskConfig.batch_size=$BATCH_SIZE --gin_param=TransformerTaskConfig.sequence_length=128 --gin_param=Trainer.restore_state_variables=False)
|
15 |
+
+ true ==========================================
|
16 |
+
+ python -m alphageometry --alsologtostderr --problems_file=ag4mout/output.txt --problem_name=Output --mode=ddar --defs_file=ag4masses/alphageometry/defs.txt --rules_file=ag4masses/alphageometry/rules.txt --beam_size=512 --search_depth=16 --ckpt_path=aglib/ag_ckpt_vocab --vocab_path=aglib/ag_ckpt_vocab/geometry.757.model --gin_search_paths=aglib/meliad/transformer/configs,ag4masses/alphageometry --gin_file=base_htrans.gin --gin_file=size/medium_150M.gin --gin_file=options/positions_t5.gin --gin_file=options/lr_cosine_decay.gin --gin_file=options/seq_1024_nocache.gin --gin_file=geometry_150M_generate.gin --gin_param=DecoderOnlyLanguageModelGenerate.output_token_losses=True --gin_param=TransformerTaskConfig.batch_size=32 --gin_param=TransformerTaskConfig.sequence_length=128 --gin_param=Trainer.restore_state_variables=False --out_file=ag4mout/solution.out --n_workers=1
|
17 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
18 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
19 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
20 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
21 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
22 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
23 |
+
2024-11-13 22:40:41.886796: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
|
24 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
25 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
26 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
27 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
28 |
+
/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/flax/struct.py:132: FutureWarning: jax.tree_util.register_keypaths is deprecated, and will be removed in a future release. Please use `register_pytree_with_keys()` instead.
|
29 |
+
jax.tree_util.register_keypaths(data_clz, keypaths)
|
30 |
+
2024-11-13 22:40:44.246141: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1960] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
|
31 |
+
Skipping registering GPU devices...
|
32 |
+
I1113 22:40:44.250269 140163996393472 graph.py:498] Output
|
33 |
+
I1113 22:40:44.250498 140163996393472 graph.py:499] a b c = triangle a b c; o = circle o a b c; d = foot d a b c; e = foot e b a c; f = foot f c a b; h = orthocenter h a b c; m = on_line m d a, on_circle m o a; n = on_line n e b, on_circle n o a; p = on_line p f c, on_circle p o a ? cyclic c e h d
|
34 |
+
I1113 22:40:47.947998 140163996393472 ddar.py:60] Depth 1/1000 time = 3.6587045192718506
|
35 |
+
I1113 22:40:47.949542 140163996393472 alphageometry.py:204] Theo đề bài ta có:
|
36 |
+
A B C D E H : Points
|
37 |
+
B,C,D are collinear [00]
|
38 |
+
AD ⟂ BC [01]
|
39 |
+
C,E,A are collinear [02]
|
40 |
+
BE ⟂ AC [03]
|
41 |
+
CA ⟂ HB [04]
|
42 |
+
BC ⟂ HA [05]
|
43 |
+
|
44 |
+
Các điểm cần dựng thêm:
|
45 |
+
Không cần dựng thêm điểm nào.
|
46 |
+
|
47 |
+
Các bước chứng minh:
|
48 |
+
001. C,E,A are collinear [02] & CA ⟂ HB [04] & BE ⟂ AC [03] & B,C,D are collinear [00] & BC ⟂ HA [05] & AD ⟂ BC [01] ⇒ ∠CEH = ∠CDH [06]
|
49 |
+
002. ∠CEH = ∠CDH [06] ⇒ H,C,D,E are concyclic
|
50 |
+
|
51 |
+
I1113 22:40:47.949872 140163996393472 alphageometry.py:208] Solution written to ag4mout/solution.out.
|
52 |
+
Traceback (most recent call last):
|
53 |
+
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
|
54 |
+
return _run_code(code, main_globals, None,
|
55 |
+
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
|
56 |
+
exec(code, run_globals)
|
57 |
+
File "/root/GeoGenSolver/ag4masses/alphageometry/alphageometry.py", line 756, in <module>
|
58 |
+
app.run(main)
|
59 |
+
File "/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/absl/app.py", line 308, in run
|
60 |
+
_run_main(main, args)
|
61 |
+
File "/root/GeoGenSolver/pyenv/lib/python3.10/site-packages/absl/app.py", line 254, in _run_main
|
62 |
+
sys.exit(main(argv))
|
63 |
+
File "/root/GeoGenSolver/ag4masses/alphageometry/alphageometry.py", line 739, in main
|
64 |
+
run_ddar(g, this_problem, _OUT_FILE.value)
|
65 |
+
File "/root/GeoGenSolver/ag4masses/alphageometry/alphageometry.py", line 238, in run_ddar
|
66 |
+
gh.nm.draw(
|
67 |
+
File "/root/GeoGenSolver/ag4masses/alphageometry/numericals.py", line 1227, in draw
|
68 |
+
_draw(ax, points, lines, circles, goal, equals, highlights)
|
69 |
+
File "/root/GeoGenSolver/ag4masses/alphageometry/numericals.py", line 1186, in _draw
|
70 |
+
name, args = goal
|
71 |
+
ValueError: too many values to unpack (expected 2)
|
ag4mout/output.png
ADDED
ag4mout/output.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
Output
|
2 |
+
a b c = triangle a b c; o = circle o a b c; d = foot d a b c; e = foot e b a c; f = foot f c a b; h = orthocenter h a b c; m = on_line m d a, on_circle m o a; n = on_line n e b, on_circle n o a; p = on_line p f c, on_circle p o a ? cyclic c e h d
|
ag4mout/solution.out
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Theo đề bài ta có:
|
2 |
+
A B C D E H : Points
|
3 |
+
B,C,D are collinear [00]
|
4 |
+
AD ⟂ BC [01]
|
5 |
+
C,E,A are collinear [02]
|
6 |
+
BE ⟂ AC [03]
|
7 |
+
CA ⟂ HB [04]
|
8 |
+
BC ⟂ HA [05]
|
9 |
+
|
10 |
+
Các điểm cần dựng thêm:
|
11 |
+
Không cần dựng thêm điểm nào.
|
12 |
+
|
13 |
+
Các bước chứng minh:
|
14 |
+
001. C,E,A are collinear [02] & CA ⟂ HB [04] & BE ⟂ AC [03] & B,C,D are collinear [00] & BC ⟂ HA [05] & AD ⟂ BC [01] ⇒ ∠CEH = ∠CDH [06]
|
15 |
+
002. ∠CEH = ∠CDH [06] ⇒ H,C,D,E are concyclic
|