Skip to content

Observation normalization is not equivalent for distributed vs threaded #5

@rejuvyesh

Description

@rejuvyesh

if distributed
envs = [deepcopy(env) for i = 1:(2 * hp.n_directions)]
normalizers = [deepcopy(normalizer) for i = 1:(2 * hp.n_directions)]
hps = [deepcopy(hp) for i = 1:(2 * hp.n_directions)]
print(" $(nprocs()) processors")
else
envs = [deepcopy(env) for i = 1:Threads.nthreads()]
print(" $(Threads.nthreads()) threads")
end

The distributed version updates a different normalizer for each run. Not sure if that was intentional.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions