JoshuaPiinRueyPan / ViolenceDetection

Apache License 2.0
152 stars 39 forks source link

Issue while training model #20

Open Godfather-Akshay opened 5 years ago

Godfather-Akshay commented 5 years ago

Future major versions of TensorFlow will allow gradients to flow into the labels input on backprop by default.

See tf.nn.softmax_cross_entropy_with_logits_v2.

Reading Training set... Traceback (most recent call last): File "Train.py", line 196, in main = Main() File "Train.py", line 16, in init self.trainer = Trainer(classifier) File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\Trainer.py", line 15, in init self._dataManager = TrainDataManager(dataSettings.PATH_TO_TRAIN_SET_CATELOG) File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\data\DataManager.py", line 226, in init LOADED_QUEUE_MAXSIZE=trainSettings.LOADED_QUEUE_MAX_SIZE) File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\data\DataManager.py", line 37, in init self._initVideoData(PATH_TO_DATA_SETCATELOG) File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\data\DataManager.py", line 82, in _initVideoData with open(PATH_TO_DATA_SETCATELOG, 'r') as fileContext: FileNotFoundError: [Errno 2] No such file or directory: 'data/train.txt' Exception ignored in: <bound method DataManagerBase.del of <src.data.DataManager.TrainDataManager object at 0x0000021BF4620D68>> Traceback (most recent call last): File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\data\DataManager.py", line 50, in del self.Stop() File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\data\DataManager.py", line 64, in Stop with self._lockForThreadControl: AttributeError: 'TrainDataManager' object has no attribute '_lockForThreadControl' Exception ignored in: <bound method Trainer.del of <src.Trainer.Trainer object at 0x0000021B800A1D68>> Traceback (most recent call last): File "C:\Users\Akshay\Desktop\git\ViolenceDetection\src\Trainer.py", line 39, in del self._dataManager.Stop() AttributeError: 'Trainer' object has no attribute '_dataManager' Exception ignored in: <bound method Main.del of <main.Main object at 0x0000021BD9E30EF0>> Traceback (most recent call last): File "Train.py", line 52, in del self.session.close() AttributeError: 'Main' object has no attribute 'session'

alaa-Mz commented 5 years ago

Hello, i got the same issue, did you solve the issue??