diff --git a/.gitignore b/.gitignore
index fcc64156a78c485f3d29971a896179c0d1dad4eb..4ae59f02ab965a01215ae997172cbf6ecc32b6c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
-/train
-/test
+**/train
+**/test
 
 
 # Created by https://www.toptal.com/developers/gitignore/api/ros,visualstudiocode,c++,python