This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
RuntimeError Traceback (most recent call last) | |
<ipython-input-37-16682764c468> in <module>() | |
----> 1 fit(m, md, 1, lo.opt, F.binary_cross_entropy) | |
2 # use F.binary_cross_entropy for multi-label problems | |
~\Dropbox\3.SelfStudy\fastai_pytorch\fastai\courses\dl1\fastai\model.py in fit(model, data, epochs, opt, crit, metrics, callbacks, **kwargs) | |
104 i += 1 | |
105 | |
--> 106 vals = validate(stepper, data.val_dl, metrics) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda create --name tensorflow python=3.5 | |
activate tensorflow | |
conda install jupyter (this might fail due to :PaddingError: Placeholder of length '30' too short in package qt-5.6.2-vc14_0.% The package must be rebuilt with conda-build > 2.0. Try running 'conda update --all' in root env, and running it again) | |
conda install scipy | |
pip install tensorflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda create --name tensorflow-gpu python=3.5 | |
activate tensorflow-gpu | |
conda install jupyter | |
conda install scipy | |
pip install tensorflow-gpu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\UserName>activate tensorflow-gpu | |
(tensorflow-gpu) C:\Users\UserName>jupyter | |
usage: jupyter-script.py [-h] [--version] [--config-dir] [--data-dir] | |
[--runtime-dir] [--paths] [--json] | |
[subcommand] | |
jupyter-script.py: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required | |
(tensorflow-gpu) C:\Users\UserName>jupyter notebook | |
[I 01:02:35.990 NotebookApp] [nb_conda_kernels] enabled, 4 kernels found |
NewerOlder