Closed egillax closed 1 year ago
Error:
Error in `losses[1:(globalMinimum - 5)]`: only 0's may be mixed with negative subscripts Backtrace: ▆ 1. └─DeepPatientLevelPrediction::lrFinder(...) at test-LRFinder.R:27:2 2. ├─torch::torch_diff(...) 3. │ └─base::mget(x = c("self", "n", "dim", "prepend", "append")) 4. └─torch::torch_tensor(losses[1:(globalMinimum - 5)]) 5. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 6. └─methods$initialize(NULL, NULL, ...) 7. └─torch:::torch_tensor_cpp(...)
Error: