Aide langage python
Résolu
cool74
-
cool74 -
cool74 -
Bonjour, j ai une erreur si une personne peux m aider merci
/content/first-order-model
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-3-e21dc707b840> in <module>()
30 warnings.filterwarnings("ignore")
31
---> 32 source_image = imageio.imread('/content/'+Nom_Fichier_Image)
33 reader = imageio.get_reader('/content/'+Nom_Fichier_Video)
34
3 frames
/usr/local/lib/python3.7/dist-packages/imageio/core/request.py in _parse_uri(self, uri)
271 # Reading: check that the file exists (but is allowed a dir)
272 if not os.path.exists(fn):
--> 273 raise FileNotFoundError("No such file: '%s'" % fn)
274 else:
275 # Writing: check that the directory to write to does exist
FileNotFoundError: No such file: '/content/content/DeepFake_From_Single_Image/data/reynolds1.png'
/content/first-order-model
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-3-e21dc707b840> in <module>()
30 warnings.filterwarnings("ignore")
31
---> 32 source_image = imageio.imread('/content/'+Nom_Fichier_Image)
33 reader = imageio.get_reader('/content/'+Nom_Fichier_Video)
34
3 frames
/usr/local/lib/python3.7/dist-packages/imageio/core/request.py in _parse_uri(self, uri)
271 # Reading: check that the file exists (but is allowed a dir)
272 if not os.path.exists(fn):
--> 273 raise FileNotFoundError("No such file: '%s'" % fn)
274 else:
275 # Writing: check that the directory to write to does exist
FileNotFoundError: No such file: '/content/content/DeepFake_From_Single_Image/data/reynolds1.png'
Configuration: Windows / Chrome 101.0.0.0
A voir également:
- Aide langage python
- Langage ascii - Guide
- Citizen code python avis - Accueil - Outils
- Langage binaire - Guide
- Pascal langage - Télécharger - Édition & Programmation
- Langage visual basic - Télécharger - Langages
2 réponses
Bonjour,
on y verrait plus clair si tu affichais ton code avec les balises de code
mode d'emploi:
https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code
Visuellement, ça doit ressembler à ça:
on y verrait plus clair si tu affichais ton code avec les balises de code
mode d'emploi:
https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code
Visuellement, ça doit ressembler à ça:
for k in range(10): print(k)