kaiseem / queryotr Goto Github PK
View Code? Open in Web Editor NEW[ECCV2022] Official PyTorch implementation of the paper "Outpainting by Queries"
License: Apache License 2.0
[ECCV2022] Official PyTorch implementation of the paper "Outpainting by Queries"
License: Apache License 2.0
The following error occurred while executing the code.
please help me😥
Traceback (most recent call last):
File "main.py", line 103, in
g_grad_scale=g_grad_scaler)
File "/workspace/QueryOTR/engine.py", line 53, in train_one_epoch
D_losses.backward()
File "/opt/conda/envs/hgonet/lib/python3.7/site-packages/torch/_tensor.py", line 255, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/opt/conda/envs/hgonet/lib/python3.7/site-packages/torch/autograd/init.py", line 149, in backward
allow_unreachable=True, accumulate_grad=True) # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [512]] is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
scenery Dataset, theBaiduNetDisk link is unavailable
谢谢前辈指点~
1.Do you intend to open source your model ?
2.According to the data set you mentioned, how long has your model been trained, and on what equipment?
3.How well does this method work for larger images? Such as 1920 ✖ ️ 1080
4.What is the speed of reasoning? On what device ?
If you can answer, I will be very grateful! Thanks.
same question.
Traceback (most recent call last):
File "D:\MyProject\PyThon\FlowInpainting\QueryOTR\main.py", line 100, in
train_one_epoch(opts, gen, cnn_dis, criterion, train_loader, opt_g, opt_d, torch.device('cuda'), epoch,
File "D:\MyProject\PyThon\FlowInpainting\QueryOTR\engine.py", line 52, in train_one_epoch
D_losses.backward()
File "D:\TOOLKITS\miniconda\lib\site-packages\torch_tensor.py", line 255, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "D:\TOOLKITS\miniconda\lib\site-packages\torch\autograd_init_.py", line 147, in backward
Variable._execution_engine.run_backward(
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [512]] is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
Originally posted by @MasterHow in #3 (comment)
Dear authors, thanks for your great work.
I have a little problem reproducing the results reported in the paper.
On the Scenery dataset, you mentioned the upper bound of IS score is 4.091, so did you only use the test set to compute the score or the whole dataset? If using test set only, how to select the test set?
In my experiments, when I use the total dataset to compute the IS, I get 3.744, and when I use the last 1000 images to compute the IS, I get 3.541. Could you give me some advice? Thanks a lot
scenery6000数据集采用该论文的分法,epoch设置成300.也是在3090上训练的。
FID值是21.08, 论文里是20.366
IS是3.81,论文里是3.955
上面两个值与论文结果的差距是否是正常的?
此外,我也计算了PSNR值,这一项相差较大,我测出来是21.63,原论文是23.60.
训练代码没有进行任何修改
Nice work !,,,could you please share me your inference code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.