Skip to content

Commit f7c315d

Browse files
committed
td3_loss_test policy_delay update
1 parent 2eec084 commit f7c315d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_cost.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def _create_seq_mock_data_td3(
737737

738738
@pytest.mark.skipif(not _has_functorch, reason="functorch not installed")
739739
@pytest.mark.parametrize("device", get_available_devices())
740-
@pytest.mark.parametrize("delay_actor,delay_value", [(False, False), (True, True)])
740+
@pytest.mark.parametrize("delay_actor, delay_value", [(False, False), (True, True)])
741741
@pytest.mark.parametrize("policy_noise", [0.1, 1.0])
742742
@pytest.mark.parametrize("noise_clip", [0.1, 1.0])
743743
def test_td3(
@@ -828,7 +828,6 @@ def test_td3(
828828
@pytest.mark.parametrize("n", list(range(4)))
829829
@pytest.mark.parametrize("device", get_available_devices())
830830
@pytest.mark.parametrize("delay_actor,delay_value", [(False, False), (True, True)])
831-
@pytest.mark.parametrize("policy_update_delay", [1])
832831
@pytest.mark.parametrize("policy_noise", [0.1, 1.0])
833832
@pytest.mark.parametrize("noise_clip", [0.1, 1.0])
834833
def test_td3_batcher(
@@ -837,7 +836,6 @@ def test_td3_batcher(
837836
delay_actor,
838837
delay_value,
839838
device,
840-
policy_update_delay,
841839
policy_noise,
842840
noise_clip,
843841
):
@@ -850,7 +848,6 @@ def test_td3_batcher(
850848
value,
851849
gamma=0.9,
852850
loss_function="l2",
853-
policy_update_delay=policy_update_delay,
854851
policy_noise=policy_noise,
855852
noise_clip=noise_clip,
856853
delay_actor=delay_actor,

0 commit comments

Comments
 (0)