You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write a simple python program to compress my program dataset. I'd like to iteratively reduce my library such that I don't need to wait too long for intermediate result.
This loop executes well in the beginning and throw error when epoch=19:
Traceback (most recent call last):
File "/home/bofei-zhang/miniconda3/envs/plcn/lib/python3.9/site-packages/stitch_core/__init__.py", line 303, in compress
res = compress_backend(
pyo3_runtime.PanicException: assertion failed: !res.contains(&format!(\" {prim} \"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bofei-zhang/Documents/Project/Projects/concept_learning/pl-cn/experiments/stitch_pl/process.py", line 142, in <module>
process()
File "/home/bofei-zhang/Documents/Project/Projects/concept_learning/pl-cn/experiments/stitch_pl/process.py", line 125, in process
res = compress(programs, iterations=10, max_arity=2, slient=False)
File "/home/bofei-zhang/miniconda3/envs/plcn/lib/python3.9/site-packages/stitch_core/__init__.py", line 311, in compress
raise StitchException(f"Rust backend panicked with exception: {e}")
stitch_core.StitchException: Rust backend panicked with exception: assertion failed: !res.contains(&format!(\" {prim} \"))
Please kindly advise how to address this issue.
The text was updated successfully, but these errors were encountered:
bofei5675
changed the title
Usage consulting of this library
Usage consulting of this library: Rust backend panicked with exception: assertion failed: !res.contains(&format!(\" {prim} \"))
Oct 27, 2023
I write a simple python program to compress my program dataset. I'd like to iteratively reduce my library such that I don't need to wait too long for intermediate result.
This is an example of my script.
This loop executes well in the beginning and throw error when
epoch=19
:Please kindly advise how to address this issue.
The text was updated successfully, but these errors were encountered: