mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-05-09 21:07:49 +08:00
94505a89e6
PiperOrigin-RevId: 281522361
25 lines
1.0 KiB
Lua
25 lines
1.0 KiB
Lua
-- Copyright 2019 DeepMind Technologies Limited. All Rights Reserved.
|
|
-- Licensed under the Apache License, Version 2.0 (the "License");
|
|
-- you may not use this file except in compliance with the License.
|
|
-- You may obtain a copy of the License at
|
|
-- http://www.apache.org/licenses/LICENSE-2.0
|
|
-- Unless required by applicable law or agreed to in writing, software
|
|
-- distributed under the License is distributed on an "AS IS" BASIS,
|
|
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
-- See the License for the specific language governing permissions and
|
|
-- limitations under the License.
|
|
-- ============================================================================
|
|
local factory = require 'visual_match_factory'
|
|
|
|
return factory.createLevelApi{
|
|
exploreMapMode = 'TWO_ROOMS',
|
|
episodeLengthSeconds = 40,
|
|
exploreLengthSeconds = 5,
|
|
distractorLengthSeconds = 30,
|
|
|
|
differentDistractRoomTexture = true,
|
|
differentRewardRoomTexture = true,
|
|
correctReward = 10,
|
|
incorrectReward = 1,
|
|
}
|