mouseart
mouseart
I am trying to run [https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) of [In11] Code: ``` def train_graph(positive_examples, negative_examples, num_iterations = 100): num_dims = positive_examples.shape[1] weights = np.zeros((num_dims,1)) # initialize weights pos_count = positive_examples.shape[0] neg_count =...
[EmbeddingsPyTorch.ipynb](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) `train_loader = torch.utils.data.DataLoader(train_dataset, batch_size=16, collate_fn=offsetify, shuffle=True) train_epoch_emb(net,train_loader, lr=4, epoch_size=25000)` AttributeError Traceback (most recent call last) [/Users/mouseart/OneDrive/book/AI-For-Beginners-Code/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/mouseart/OneDrive/book/AI-For-Beginners-Code/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) 单元格 37 line 2 [1](vscode-notebook-cell:/Users/mouseart/OneDrive/book/AI-For-Beginners-Code/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb#X51sZmlsZQ%3D%3D?line=0) train_loader = torch.utils.data.DataLoader(train_dataset, batch_size=16, collate_fn=offsetify, shuffle=True) ----> [2](vscode-notebook-cell:/Users/mouseart/OneDrive/book/AI-For-Beginners-Code/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb#X51sZmlsZQ%3D%3D?line=1)...
https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/3-NeuralNetworks/04-OwnFramework/lab/MyFW_MNIST.ipynb The file mentioned in the following code in this notebook: `/main/data/mnist.pkl.gz` does not exist in this project. `!rm *.pkl` `!wget https://raw.githubusercontent.com/microsoft/AI-For-Beginners/main/data/mnist.pkl.gz` `!gzip -d mnist.pkl.gz`
https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/2-Symbolic/MSConceptGraph.ipynb Unable to function properly I tried running in VS Code environment https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/2-Symbolic/MSConceptGraph.ipynb The first paragraph of code for: ``` import urllib import json import ssl def http(x): ssl._create_default_https_context =...