Giter Club home page Giter Club logo

Comments (9)

tommasoboccali avatar tommasoboccali commented on August 10, 2024

@androbomb

from ml_infn_hackbase.

tommasoboccali avatar tommasoboccali commented on August 10, 2024

ovvero scusa: c'e' un notebook che fa

!wget https://pandora.infn.it/public/b0a561

proporrei di mettere questa riga direttamente nel notebook principale ... provo a modificatre io

from ml_infn_hackbase.

androbomb avatar androbomb commented on August 10, 2024

from ml_infn_hackbase.

tommasoboccali avatar tommasoboccali commented on August 10, 2024

occhio che da' errore:

il file che quel wget scarica fa

            document.getElementById(startParameters['MAIN_ELEMENT']).innerHTML = '<div class="hash_load_error">' + startParameters['HASH_LOAD_ERROR'] + '</div>';

forse lo share non e' pubblico?

se files sono finali proporrei di

  • mettere nel notebook

import os
if not os.path.isfile('test93_0_20000.npz'):
!wget QUELLO GIUSTO

e se vuoi invece che su pandora metto il payload a pisa ....

from ml_infn_hackbase.

tommasoboccali avatar tommasoboccali commented on August 10, 2024

.. e eventualmente dop oil wget ... fare untar e/o mettere nel posto giusto

from ml_infn_hackbase.

androbomb avatar androbomb commented on August 10, 2024

from ml_infn_hackbase.

tommasoboccali avatar tommasoboccali commented on August 10, 2024

non capisco perche', ma questo sembra non andare

image

temo che il prio wget che fallisce non tiri un'eccezione ....

potremmo fare

if not os.path.isfile(path):
# wget
!wget -O {path} https://pandora.infn.it/public/b0a561/dl/dataset.csv
if not os.path.isfile(path):
!wget https://pandora.infn.it/public/b0a561/dl/dataset.csv
path = path.split('/')[-1]

mettendoli in catena ...

from ml_infn_hackbase.

tommasoboccali avatar tommasoboccali commented on August 10, 2024

anchemeglio:

Import dataset: pick a path to .csv file

path = './Training_dataset/dataset.csv'

if not os.path.isfile(path):
# wget
!wget -O {path} https://pandora.infn.it/public/b0a561/dl/dataset.csv
if not os.path.isfile(path):
path = path.split('/')[-1]
if not os.path.isfile(path):
!wget https://pandora.infn.it/public/b0a561/dl/dataset.csv

from ml_infn_hackbase.

androbomb avatar androbomb commented on August 10, 2024

from ml_infn_hackbase.

Related Issues (1)

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.