Skip to content

Commit

Permalink
Added comments on the reason for model-MP unittest exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerdo committed Oct 1, 2020
1 parent dbe16ea commit 1296de6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_neuralnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ def test_MODEL_multiGPU(self):
multi_gpu=True)
nn.train(self.sample_list2D, epochs=3)


### Comments:
### For whatever reason, adding this unittest will break the
### Subfunction preparation with Multiprocessing on Travis-CI.
### With local and GitLab testing, it works without any problems
### but Travis-CI throws a Segmentation Fault exception for the threads...
### And also just for Python 3.6. It works perfectly with 3.7 & 3.8.
### Therefore, I excluded it until I will find out more.
# # Multi threading utilization
# def test_MODEL_multiThreading(self):
# nn = Neural_Network(preprocessor=self.pp2D,
Expand Down

0 comments on commit 1296de6

Please sign in to comment.