Giter Site home page Giter Site logo

Comments (4)

GGiecold-zz avatar GGiecold-zz commented on June 29, 2024

Hi,

Could you please share more information regarding the circumstances
surrounding this issue?

Are you running Concurrent_AP from the command line, by calling
'Concurrent_AP file_path', with file_path referring to a tab-separated
dataset with each row standing for a sample?

Just this morning, I ran this module both on a laptop running Fedora-Linux
and on my MacBook; I could not reproduce the error message you're reporting.

Kind regards,

Gregory
On Mar 11, 2016 2:22 AM, "StephaneLu" [email protected] wrote:

Hi,
I am having an issue running your code on mac osx :

Traceback (most recent call last):
File "/usr/local/bin/concurrent_AP", line 9, in
load_entry_point('Concurrent-AP==1.4', 'console_scripts',
'Concurrent_AP')()
File "/Library/Python/2.7/site-packages/Concurrent_AP.py", line 1416, in
main
output_clusters(labels, cluster_centers_indices)
UnboundLocalError: local variable 'labels' referenced before assignment

Any hint ?


Reply to this email directly or view it on GitHub
#2.

from concurrent_ap.

StephaneLu avatar StephaneLu commented on June 29, 2024

Hi Gregory,
thank you for your work 👍 ,
I fixed the issue by changing the np.savetxt() with the proper delimiter. '\t'
I was trying to load the hdf5 file prior to create it ...
I disabled the fh = NamedTemporaryFile('w', delete = False, dir = './',suffix = '.h5') to ba able to load it in the future.
I made several other changes on memory because osx does not support '/proc/meminfo' :
memory() : psutil.phymem_usage().free / used, it seems to work so far ...
get_chunksize() : as max(xxxxx, mem_free * 0.07)

Regards
Stéphane

from concurrent_ap.

GGiecold-zz avatar GGiecold-zz commented on June 29, 2024

Hello Stéphane,

Glad to hear everything is in order!

Your message made me realize that the documentation to Concurrent_AP didn't
emphasize enough that it only accepts tab-separated data files. I've edited
its PyPI page accordingly (the Github page had been edited separately and
was clearer in this regard). Thanks!

I'm swamped with work right now but I should change at some point the code
relying on /proc/meminfo. Some one trying to run DBSCAN_MULTIPLEX on
Windows had a similar problem a while ago.
Feel free to push the change you brought to get things working on OS X.

All the best with your programming endeavors,

Gregory
On Mar 11, 2016 11:48 AM, "StephaneLu" [email protected] wrote:

Hi Gregory,
thank you for your work [image: 👍] ,
I fixed the issue by changing the np.savetxt() with the proper delimiter.
'\t'
I was trying to load the hdf5 file prior to create it ...
I disabled the fh = NamedTemporaryFile('w', delete = False, dir =
'./',suffix = '.h5') to ba able to load it in the future.
I made several other changes on memory because osx does not support
'/proc/meminfo' :
memory() : psutil.phymem_usage().free / used, it seems to work so far ...
get_chunksize() : as max(xxxxx, mem_free * 0.07)

Regards
Stéphane


Reply to this email directly or view it on GitHub
#2 (comment)
.

from concurrent_ap.

lucapinello avatar lucapinello commented on June 29, 2024

Hi @StephaneLu do you mind to share the changes? I have the same problems on my mac.

Thanks!

from concurrent_ap.

Related Issues (5)

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.