Giter Club home page Giter Club logo

Comments (6)

vikneshwara-r-b avatar vikneshwara-r-b commented on July 28, 2024

Hello @Thilakraj1998 . Shall I contribute to this issue?

from autoai.

vikneshwara-r-b avatar vikneshwara-r-b commented on July 28, 2024

Hi @Thilakraj1998 . I have installed all dependencies in requirements.txt and tensorflow in the autoai repository using cond env. For doing sanity check I executed the ClassificationTest.py , but I recieved the following error.

Traceback (most recent call last): File "/Users/user_name/Desktop/foss/autoai/ClassificationTest.py", line 25, in <module> model=bc.train(file=file_path,target=target,features=features) # function to test AutoAI Process File "/Users/user_name/Desktop/foss/autoai/blobcity/main/driver.py", line 51, in train modelClass = modelSearch(CleanedDF,target,dc) File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 125, in modelSearch best=trainOnFull(dataframe,target,modelsList,trainOnSample(dataframe,target,modelsList,DictClass),DictClass) File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in trainOnSample modelScore={m:cvScore(models[m][0](),X,Y,k) for m in tqdm_notebook(models) } File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in <dictcomp> modelScore={m:cvScore(models[m][0](),X,Y,k) for m in tqdm_notebook(models) } File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 60, in cvScore accuracy = cross_val_score(model, X, Y, cv = k,n_jobs=-2) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 510, in cross_val_score cv_results = cross_validate( File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 267, in cross_validate results = parallel( File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 1056, in __call__ self.retrieve() File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 935, in retrieve self._output.extend(job.get(timeout=self.timeout)) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result return future.result(timeout=timeout) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 445, in result return self.__get_result() File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result raise self._exception joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker. The exit codes of the workers are {SIGSEGV(-11)}

Hardware setup
OS - MacOS Big Sur (Version 11.3.1)
Processor - 2.6Ghz 6 Core Intel Core i7
Memory - 16GB

I have attached the env info in txt file below.How to resolve the issue?

autoai_env.txt

from autoai.

Thilakraj1998 avatar Thilakraj1998 commented on July 28, 2024

@vikneshwara-r-b cross_val_score(model, X, Y, cv = k,n_jobs=-2) here -2 is not a valid value for n_job. either number of core present in the system or -1 to consider all cores

from autoai.

vikneshwara-r-b avatar vikneshwara-r-b commented on July 28, 2024

@Thilakraj1998 After changing n_jobs=-1 or no of cores present in the system n_jobs=6, I still recieve the same error

Traceback (most recent call last):
File "/Users/user_name/Desktop/foss/autoai/ClassificationTest.py", line 25, in
model=bc.train(file=file_path,target=target,features=features) # function to test AutoAI Process
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/driver.py", line 51, in train
modelClass = modelSearch(CleanedDF,target,dc)
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 125, in modelSearch
best=trainOnFull(dataframe,target,modelsList,trainOnSample(dataframe,target,modelsList,DictClass),DictClass)
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in trainOnSample
modelScore={m:cvScore(models[m]0,X,Y,k) for m in tqdm_notebook(models) }
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in
modelScore={m:cvScore(models[m]0,X,Y,k) for m in tqdm_notebook(models) }
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 60, in cvScore
accuracy = cross_val_score(model, X, Y, cv = k,n_jobs=-1)
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 510, in cross_val_score
cv_results = cross_validate(
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 267, in cross_validate
results = parallel(
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 1056, in call
self.retrieve()
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 935, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result
return future.result(timeout=timeout)
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 445, in result
return self.__get_result()
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.

The exit codes of the workers are {SIGSEGV(-11)}

from autoai.

Thilakraj1998 avatar Thilakraj1998 commented on July 28, 2024

@vikneshwara-r-b do check the whether the version of joblib is latest

from autoai.

vikneshwara-r-b avatar vikneshwara-r-b commented on July 28, 2024

Yes.Iam using the latest one

from autoai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.