Comments (7)
I've never seen the "segmentation fault" before.
Given the description, I wonder if it has to do with the number of permutations? For example if you remove the first test, will it run ok for the second?
I've seen similar issues in the past with looping in general (like looping through Keras models). How about if you restart the vm / machine you are running from?
When it comes to...
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
...you are right, this is typical behavior when installing with pip install tensorflow
(or conda) This should never cause errors, but just lose performance.
from talos.
Yeah I just tested this on my own fork and Travis has no problem with it. Interesting.
I guess this is just a curiosity at this point. Why does the test script build fine on Travis, while failing on my computer when Talos seems to work seamlessly on its own...?
Edit: I will try your suggestions real quick.
from talos.
This is so bizarre...
Ok so I removed the entire first test and added a helper print out in Scan
. In the _run(self)
function specifically:
...
round_params(self)
# _model() function should return both the result from training
# and the model itself
try:
_hr_out, self.keras_model = self._model()
except TypeError:
print('The model needs to have Return in format '
' "return history, model"')
print("Model successfully returned.") # new helper code code
self.epoch_entropy.append(epoch_entropy((_hr_out)))
_hr_out = run_round_results(self, _hr_out)
...
and end up with this for the second Iris test:
Model successfully returned.
7 scans will take roughly 0 seconds
Model successfully returned.
Model successfully returned.
Model successfully returned.
[1] 19800 segmentation fault python3 test_script.py
Still seg faults after 4 executions. Weird.
from talos.
Ok that's "good" ... I was guessing that might happen. If you restart your machine, and then create a new virtualenv, do you still get the seg fault?
from talos.
I'll try this soon. Humor me though, I'm still not so comfortable with this stuff just yet. The process I should take is:
- Create new anaconda VI
pip install -r requirements.txt
python setup.py install
python test_script.py
Can you confirm? Thanks very much for the help! 👍
from talos.
I did exactly that and the script ran with no problems. In summary, my problem not Talos'.
from talos.
@x94carbone Unfortunately TensorFlow comes with issues with resource management, both memory and GPU. Given what it does, I think this is expectable though.
Usually things are resolved with re-installing both Keras and Tensorflow directly from the respective repos, unless it's resolved with a simple vm reset. I think that at some point it's worthwhile to create a "debugging" script for both conda and regular python that reinstalls, verify version, and a bunch of other stuff to make it super easy for the user to troubleshoot upstream issues.
from talos.
Related Issues (20)
- Key duplication results in exception: param dict vs. csv file stored (e.g., 'loss') HOT 3
- Heatmap always have missing parts HOT 2
- Failed to build scipy while installing talos HOT 1
- Using `Evaluate` with multiple inputs HOT 6
- ImportError: cannot import name 'get_config' HOT 4
- add arguments to the function syntax HOT 1
- Using train, val data HOT 1
- Cannot replicate typical example from documentation HOT 1
- Can't find description of layer shapes HOT 3
- Talos installation stuck at downloading statsmodel HOT 1
- [RFC00102] Increase Visibility and Access to Power Draw Data HOT 1
- Getting errors when handling custom object HOT 4
- Add comprehensive support for n-dimensional `x` or `y`
- AttributeError: module 'talos.utils' has no attribute 'ExperimentLogCallback' HOT 1
- Live is not in talos HOT 1
- Advanced hyperparameter configuration HOT 1
- Error with Autom8 import HOT 1
- pip install talos is failing due to sklearn in requirements.txt instead of scikit-learn HOT 4
- Will talos support Maximal Update Parametrization later? HOT 1
- batch_size not support list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talos.