Giter Site home page Giter Site logo

Problem with TMVAClassifier about rep HOT 9 CLOSED

yandex avatar yandex commented on July 28, 2024
Problem with TMVAClassifier

from rep.

Comments (9)

tlikhomanenko avatar tlikhomanenko commented on July 28, 2024

Can you run in the same notebook the following code:

import tempfile
import os
name = tempfile.mkdtemp(dir=os.getcwd())

and then in other cell:

!cd $name

I want to check that process has access to the temporary folder.

from rep.

HolyBayes avatar HolyBayes commented on July 28, 2024

The result is:
/bin/sh: 1: cd: can't cd to /home/artem/Documents/IPython

from rep.

tlikhomanenko avatar tlikhomanenko commented on July 28, 2024

Run:

!ls -la /home/artem/Documents/

!whoami

from rep.

HolyBayes avatar HolyBayes commented on July 28, 2024

ls -la /home/artem/Documents/ works OK. IPython was launched from admin user, but admin not in sudo group.

from rep.

tlikhomanenko avatar tlikhomanenko commented on July 28, 2024

Write output of ls -la /home/artem/Documents/ to see the rights of /home/artem/Documents/IPython

from rep.

HolyBayes avatar HolyBayes commented on July 28, 2024

итого 13172
drwxr-xr-x 5 artem artem 4096 сент. 27 16:27 ./
drwxr-xr-x 27 artem artem 4096 сент. 27 15:26 ../
-rw-r----- 1 artem artem 2326130 сент. 15 18:37 EkmanPol_PsihologiyaLzhi.pdf
-rw-r----- 1 artem artem 3829480 сент. 17 13:41 evaluating-machine-learning-models.pdf
drwx------ 4 artem artem 4096 сент. 8 21:49 IPython Notebooks/
-rw-r----- 1 artem artem 3144056 сент. 11 19:43 K_V_Vorontsov_Mat_metody_obuchenia_po_pretsede.pdf
drwxrwxr-x 3 artem artem 4096 сент. 27 14:31 SHAD/
-rw-r----- 1 artem artem 4147233 сент. 15 18:37 Telling Lies - Clues to Deceit in the Marketplace, Politics, and Marriage.pdf
drwxrwxr-x 3 artem artem 4096 сент. 27 16:27 tmp/

from rep.

tlikhomanenko avatar tlikhomanenko commented on July 28, 2024

The problem is your path: IPython Notebooks/. It contains space, that is why command 'cd {folder}' doesn't work, and weights is created outside the temp folder.

Thanks, will fix this error in next release.

At this moment, rename this folder without spaces, or move starter kit notebooks into other place.

from rep.

HolyBayes avatar HolyBayes commented on July 28, 2024

Ok, thanks!

from rep.

tlikhomanenko avatar tlikhomanenko commented on July 28, 2024

this bug is fixed in commit 1ac0a59

from rep.

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.