python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Convert numpy array into Ray dataset
What is the correct way to convert numpy array into ray's dataset? I tried the following, but its not working.
import numpy as np
arr = np.array([[1.9, 1.0, 1.1, 0.9],
[1.8, 1.0, 1.1, 0.9],
...
Pratap D
Votes: 0
Answers: 1
Ray training with PyTorch and PyTorchLightning raise ValueError("Expected a parent")
I have a code that has a data module and a model and I am training my model with Ray trainer, here is my code:
class CSIDataset(pl.LightningDataModule):
def __init__(self, pkl_dir):
...

Samira Khorshidi
Votes: 0
Answers: 1
Programmatically setting number of processes with ray
I want to use Ray to parallelize some computations in python. As part of this, I want a method which takes the desired number of worker processes as an argument.
The introductory articles on Ray that ...
bjarkemoensted
Votes: 0
Answers: 1