summaryrefslogtreecommitdiff
path: root/experiments
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-07-26 12:28:37 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-07-26 12:28:37 -0500
commit31b70e1b1f2e7fd26c9c3228f525fc0b5192cd81 (patch)
tree6851e98292054d746e86f7590e82b191d9765c20 /experiments
parent00baa870b8b61a0974438233d9240eebb40c384f (diff)
fix: inherit experiment Python environment
Diffstat (limited to 'experiments')
-rw-r--r--experiments/kp_teaching_signal_ablation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/experiments/kp_teaching_signal_ablation.py b/experiments/kp_teaching_signal_ablation.py
index 537b262..c636a03 100644
--- a/experiments/kp_teaching_signal_ablation.py
+++ b/experiments/kp_teaching_signal_ablation.py
@@ -5,6 +5,7 @@ import hashlib
import json
import os
import subprocess
+import sys
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -61,7 +62,7 @@ def require_source():
def command(device, rule, path):
return [
- "python", "experiments/conv_run.py",
+ sys.executable, "experiments/conv_run.py",
"--device", device,
"--depth", "20",
"--width", "16",
@@ -127,4 +128,3 @@ def main():
if __name__ == "__main__":
main()
-