Giter Club home page Giter Club logo

Comments (4)

Oceania2018 avatar Oceania2018 commented on September 28, 2024

Can you try to add the sample size to like 100 lines of text at least.

from scisharp-stack-examples.

AdnanSalah84 avatar AdnanSalah84 commented on September 28, 2024

I did and same error

graph\word2vec.meta already exists.
Words count: 3574
Unique words: 27
Vocabulary size: 28
Most common words: UNK 0 0, and 1 440, is 2 220, are 3 220, beautiful 4 220, country 5 220, really 6 165, this 7 110, singapore 8 110, one 9 110
2021-05-04 17:04:46.148202: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Step 1, Average Loss= 428.7090
Evaluation...
System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at TensorFlowNET.Examples.Word2Vec.Run() in C:\Users\Adnan Salahuddin\Desktop\TensorFlow\SciSharp-Stack-Examples\src\TensorFlowNET.Examples\TextProcessing\Word2Vec.cs:line 114
   at TensorFlowNET.Examples.Program.RunExamples(String key, IExample[] examples) in C:\Users\Adnan Salahuddin\Desktop\TensorFlow\SciSharp-Stack-Examples\src\TensorFlowNET.Examples\Program.cs:line 89
5/4/2021 12:04:47 PM Completed Word2Vec
Example: Word2Vec is Failed!

MyData.txt

from scisharp-stack-examples.

AdnanSalah84 avatar AdnanSalah84 commented on September 28, 2024

Updated MyData.txt file!

graph\word2vec.meta already exists.
Words count: 249891
Unique words: 23642
Vocabulary size: 2005
Most common words: UNK 0 42278,  1 47240, the 2 6279, and 3 5479, to 4 4723, i 5 4403, of 6 3721, my 7 3114, a 8 2975, you 9 2449
2021-05-05 09:58:39.631276: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-05-05 09:58:39.765438: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 37708000 exceeds 10% of free system memory.
2021-05-05 09:58:39.765775: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 37708000 exceeds 10% of free system memory.
Step 1, Average Loss= 537.0739
Evaluation...
2021-05-05 09:58:40.375849: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 37708000 exceeds 10% of free system memory.
2021-05-05 09:58:40.399673: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 37708000 exceeds 10% of free system memory.
System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at TensorFlowNET.Examples.Word2Vec.Run() in C:\Users\Adnan Salahuddin\Desktop\TensorFlow\SciSharp-Stack-Examples\src\TensorFlowNET.Examples\TextProcessing\Word2Vec.cs:line 114
   at TensorFlowNET.Examples.Program.RunExamples(String key, IExample[] examples) in C:\Users\Adnan Salahuddin\Desktop\TensorFlow\SciSharp-Stack-Examples\src\TensorFlowNET.Examples\Program.cs:line 89
5/5/2021 4:58:41 AM Completed Word2Vec
Example: Word2Vec is Failed!

MyData.txt

from scisharp-stack-examples.

AdnanSalah84 avatar AdnanSalah84 commented on September 28, 2024

Dear,

I am waiting for your response!

Thanks

from scisharp-stack-examples.

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.