Comments (11)
Perhaps, this can work. Search for xception-b5690688.pth in this URL.
from faceforensics.
- Download the .pth file from http://data.lip6.fr/cadene/pretrainedmodels/xception-b5690688.pth.
- Add the file into your project.
- Modify the code in Line26 models.py
state_dict = torch.load('/home/ondyari/.torch/models/xception-b5690688.pth')
then
state_dict = torch.load('/your_dir/xception-b5690688.pth')
Thanks for download link.
I download this .pth file just by using one line Linux code
I think this is useful for every body
'wget http://data.lip6.fr/cadene/pretrainedmodels/xception-b5690688.pth --no-check-certificate'
from faceforensics.
@MohamedHalith10 @harrykeepstudy
vim FaceForensics/classification/network/models.py
have a look at line 26
from faceforensics.
Perhaps, this can work. Search for xception-b5690688.pth in this URL.
Hi there @Debanik , have you successfully run the codes? Cuz im currently stuck at model.cuda() and i received below error:
AttributeError: 'OrderedDict' object has no attribute 'cuda'
Hoping that you could give me some ideas how to solve it.
from faceforensics.
Perhaps, this can work. Search for xception-b5690688.pth in this URL.
Hi there @Debanik , have you successfully run the codes? Cuz im currently stuck at model.cuda() and i received below error:
AttributeError: 'OrderedDict' object has no attribute 'cuda'
Hoping that you could give me some ideas how to solve it.
I did run it on, although the machine didn't have a Cuda enabled GPU.
Also, my custom requirements file can be found inside my forked repo:
https://github.com/Debanik/FaceForensics.git
which has a custom requirements file at:
classification/my_requirements.txt
Hope it helps.
from faceforensics.
Perhaps, this can work. Search for xception-b5690688.pth in this URL.
Hi there @Debanik , have you successfully run the codes? Cuz im currently stuck at model.cuda() and i received below error:
AttributeError: 'OrderedDict' object has no attribute 'cuda'
Hoping that you could give me some ideas how to solve it.
hello @haqkiemdaim , i have the same problem with you. Have you solved the problem now?thank you .
from faceforensics.
@hzh-hgz Haven't yet
from faceforensics.
FaceForensics/classification/network/models.py", line 26, in return_pytorch04_xception
'/home/ondyari/.torch/models/xception-b5690688.pth')
you can change the mode_path in your code, you can download the pretrain model in this
from faceforensics.
FaceForensics/classification/network/models.py", line 26, in return_pytorch04_xception
'/home/ondyari/.torch/models/xception-b5690688.pth')
you can change the mode_path in your code, you can download the pretrain model in this
how to change path
from faceforensics.
Is there anyone solved the [ changing path ] problem? Which code I need to change the path? Or where to put [ xception-b5690688.pth ]? Thank you very much!!
from faceforensics.
- Download the .pth file from http://data.lip6.fr/cadene/pretrainedmodels/xception-b5690688.pth.
- Add the file into your project.
- Modify the code in Line26 models.py
state_dict = torch.load('/home/ondyari/.torch/models/xception-b5690688.pth')
then
state_dict = torch.load('/your_dir/xception-b5690688.pth')
from faceforensics.
Related Issues (20)
- Getting an error when executing the code related to downloading the database HOT 12
- size mismatch for block1.rep.0.pointwise.weight: copying a param with shape torch.Size([128, 64]) from checkpoint, the shape in current model is torch.Size([128, 64, 1, 1]). HOT 1
- What is the forgery method corresponding to each downloaded video?
- Can you share the compression's parameter settings? HOT 1
- Issue with downloading the dataset HOT 3
- FF v1 download way broken! (我下载不了FaceForensics,求求) HOT 3
- TypeError: 'collections.OrderedDict' object is not callable HOT 1
- ConnectionResetError: [Errno 104] Connection reset by peer
- HTTPError HOT 2
- can't open file 'download-Faceforensics.py' HOT 3
- http://kaldir.vc.in.tum.de/faceforensics_download_v4.py
- The problem with xception-b5690688.pth model
- download script broken HOT 1
- qt connet issue while running detect_from_video.py HOT 1
- Image Level or Video Level?
- Download Question HOT 51
- ConnectionRefusedError: [Errno 111] Connection refused HOT 5
- ConnectionRefusedError-Solved HOT 3
- <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it> HOT 3
- Failed to download DeepfakeDetection dataset HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faceforensics.