dingsheng-ong / ipr-gan

This is the code repo of our CVPR2021 on protecting the IPR of Generative Adversarial Networks (GANs) from Ambiguity Attack
BSD 3-Clause "New" or "Revised" License
29 stars 8 forks source link

Follow readme and run.py will get stuck. Do you have to wait a long time? Or is there something wrong with my operation. #6

Open a1340080222 opened 2 years ago

a1340080222 commented 2 years ago

Follow readme and run.py will get stuck. Do you have to wait a long time? Or is there something wrong with my operation. image

dingsheng-ong commented 2 years ago

the code is running evaluation by using the FCN network, so I think it's going to take a while.

a1340080222 commented 2 years ago

run Py

the code is running evaluation by using the FCN network, so I think it's going to take a while.

换了一台机器 可以跑过去了 这是个玄学问题 在这台机器上 环境不论怎么装 就是运行到这里停住,要卡个20分钟左右,才可能继续。不知道是不是硬件出了问题。另一台机器在这个地方只要两秒钟 eca9ee431bfb548f022f0a4d892dbe1

a1340080222 commented 2 years ago

the code is running evaluation by using the FCN network, so I think it's going to take a while.

另外还想提个问题,这个scrip需要的gt/下的内容 就是训练评估时的real_B吗 我运行run.py会出现报错。为了看清报错的准确位置我将原来的表达式拆分成了A+B。具体情况是,这个fast_hist(a, b, n)内的b的size只有65536,a的size是65536*3=196608,k中的值的范围也是在196608之内,所以b[k]会报错越界,想问下是不是前面的处理阶段需要将这里的a也转化为1通道? image