Giter Site home page Giter Site logo

Unable to load Pickle file about norbert HOT 3 CLOSED

tobhey avatar tobhey commented on September 21, 2024
Unable to load Pickle file

from norbert.

Comments (3)

tobhey avatar tobhey commented on September 21, 2024

Hej there,
Could you give us some more details on the notebook and where exactly you are getting this error?
Best regards

from norbert.

zeddmaxx avatar zeddmaxx commented on September 21, 2024

Hi, apologies, I got that running. I have another issue though --

I am trying to upgrade the notebooks to FastAI version 2.0 and specifically the: Task1_F_NFR_classification.ipynb and its predicting all the rows as 1. Do you have any idea how it could have happened? My code is present: https://colab.research.google.com/drive/1GHDCCZlAvliXq1c-M6V36l4yzsFx2TSl?usp=sharing

I did change the predictor class as follows:
from torch import IntTensor
class Predictor:
def init(self, classifier):
self.classifier = classifier
self.classes = [0, 1]

def predict(self, text):
    prediction = self.classifier.predict(text)
    prediction_class = prediction[1]
    return IntTensor.item(np.argmax(prediction_class))
  • In the config I changed moms to - moms=(0.8, 0.7, 0.01)

Any help is greatly appreciated!

from norbert.

tobhey avatar tobhey commented on September 21, 2024

Hej, sorry for the late response...

We've looked into your adaptation, but couldn't find any issues ourselves. Thus, I have to admit that we cannot help you with this migration problem, sorry. We are still running it on FastAI 1...

Best regards

from norbert.

Related Issues (4)

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.