[tests] - fix CuPy display in test_learn_encoded_labels; enable model.load in test_linear
test_learn_encoded_labels: add .get() for cupy→numpy conversion before imshow; reduce num_epochs 10000→1000. test_linear: uncomment model.load() to resume from saved weights. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ def linear():
|
||||
model.init(0.1)
|
||||
|
||||
# Load weights (if exists)
|
||||
# model.load()
|
||||
model.load()
|
||||
|
||||
# Prepare training data
|
||||
training_batch = np.random.randn(N_CASES, N_VIS, dtype=np.float64)
|
||||
|
||||
Reference in New Issue
Block a user