Skip to content

quyvsquy/temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

  • Move to the directory where the python file is located
  • docker run -it -v "$PWD":/app quyvsquy/py3_tensor_num_mat_u or in Windows docker run -it -v ${PWD}:/app quyvsquy/py3_tensor_num_mat_u
  • Run file python with: python3 fileName.py

For matplotlib.pyplot, 2 option

  1. Use plt.savefig("nameSave")
  2. Use jupyter notebook but all image will show in different location
    • Expose port 8888 before run: docker run -it -v -p 8888:8888 "$PWD":/app
    • Install with: python3 -m pip install notebook or more in link
    • Add %matplotlib inline in the first cell of the notebook
    • Run jupyter notebook: jupyter notebook --ip 0.0.0.0 --no-browser --allow-root

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published