#-*-coding:utf-8-*-
import tensorflow as tf
import numpy as np
import cv2
image = tf.random_uniform([200, 200, 3],minval=1,maxval=255, dtype=tf.int32)
with tf.Session()as sess:
    myImage=sess.run(image)
    print(myImage)
    cv2.imwrite("test.jpg", myImage)

  

相关文章:

  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2021-12-24
  • 2021-12-02
猜你喜欢
  • 2022-01-02
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2021-12-29
  • 2021-06-21
  • 2022-12-23
相关资源
相似解决方案