Skip to content

Commit 5eefe45

Browse files
fix: readded an import and changed gitignore
1 parent 469dbf9 commit 5eefe45

6 files changed

Lines changed: 4 additions & 46 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Debug_Wayfinding
1010
.venv
1111
*.onnx
1212
checkpoints
13+
*.wbproj

scripts/launch_train_multiprocessing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
from stable_baselines3 import PPO
99
from stable_baselines3.common.vec_env import SubprocVecEnv
1010

11-
simu_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../src/Simulateur'))
11+
simu_path = __file__.rsplit('/', 2)[0] + '/src/Simulateur'
12+
print(f"{simu_path = }")
1213
if simu_path not in sys.path:
1314
sys.path.insert(0, simu_path)
1415

1516
from config import *
1617
from TemporalResNetExtractor import TemporalResNetExtractor
18+
from onnx_utils import *
1719

1820
from WebotsSimulationGymEnvironment import WebotsSimulationGymEnvironment
1921
if B_DEBUG: from DynamicActionPlotCallback import DynamicActionPlotDistributionCallback

src/Simulateur/worlds/.piste.wbproj

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Simulateur/worlds/.piste0.wbproj

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Simulateur/worlds/.piste1.wbproj

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Simulateur/worlds/.piste2.wbproj

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)