Giter VIP home page Giter VIP logo

Comments (8)

MicrobeLab avatar MicrobeLab commented on June 8, 2024

Hi, sorry I did not encounter such errors before and have no idea how to fix it.

from deepmicrobes.

XLOXL avatar XLOXL commented on June 8, 2024

Okay, thank you!

from deepmicrobes.

XLOXL avatar XLOXL commented on June 8, 2024

Hello, I have another question. The default batch size for training is 32, while the default batch size for prediction is 8192. I'm wondering what the difference is between the two and why the values are so different.

from deepmicrobes.

MicrobeLab avatar MicrobeLab commented on June 8, 2024

For prediction, the batch size has no effect on the results, so I tend to use the largest batch size that fits into memory. For training, batch size is an important hyper-parameter that users should carefully tune.

from deepmicrobes.

XLOXL avatar XLOXL commented on June 8, 2024

Okay, thank you!

from deepmicrobes.

XLOXL avatar XLOXL commented on June 8, 2024

Hello, have you encountered a similar error during prediction before? I have modified my num_classes, vocab_size, and k-mer.
Error:Assign requires shapes of both tensors to match. lhs shape= [2505] rhs shape= [1]
[[node save/Assign_7 (defined at /anaconda3/envs/DeepMicrobes-master/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]

from deepmicrobes.

MicrobeLab avatar MicrobeLab commented on June 8, 2024

Hi, I have not encountered a similar error. It seems that the number of classes was left as the default 2505. Not sure why.

from deepmicrobes.

XLOXL avatar XLOXL commented on June 8, 2024

Okay, thank you very much for your patient response.

from deepmicrobes.

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.