HF RL Explorer

Task: Efficient Numpy Array Element Replacement Based on Condition

Task: Efficient Numpy Array Element Replacement Based on Condition: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that efficiently replaces elements in a large NumPy array based on a condition, converting each element to either 1 or 0 to serve as a pixel mask.

Part of PrimeIntellect/Terminal-Lego-15k.